Add a Vector Database to Your FastAPI AI App
Event times are shown in Europe/Berlin. Sign in to use your timezone
In the previous workshop, we focused on turning an AI agent or RAG-style prototype into a structured FastAPI backend.
We covered the backend setup, API structure, configuration, and the foundation for serving an AI application through clean endpoints. But we didn’t have enough time to properly cover one important part: adding a vector database.
So this session is Part 2.
In this hands-on workshop, we’ll continue from the previous project and focus specifically on the retrieval layer. You’ll learn how to connect a vector database, ingest and index documents, retrieve relevant context, and use that context to generate grounded responses through your FastAPI app.
What you’ll learn
- How to add a vector database to an existing FastAPI AI application
- How to prepare documents for indexing
- How to generate and store embeddings
- How to query the vector database for relevant context
- How to connect retrieval results to an LLM response
- How to structure the ingestion and retrieval logic so it can be extended later
- What to consider when using vector search in a production-style setup
This session is for people who joined the first workshop or already have a basic FastAPI AI backend and want to add vector search to it.
You don’t need a production-ready app, but you should be comfortable with basic Python and API concepts.
Hosted by
Alexey Grigorev
Chief Agent Officer at AI Shipping Labs
Software engineer and machine learning practitioner with 15+ years of experience building production ML systems. I focus on practical, production-grade ML and AI systems, from early prototypes to reliable systems in production.
I'm the founder of DataTalks.Club, a free community that connects tens of thousands of practitioners worldwide, and the creator of the Zoomcamp series, free, code-first programs that have reached 100,000+ learners globally.
At AI Shipping Labs, I'm building the kind of environment that would have accelerated my own career growth. After years of teaching at scale, I wanted something more focused: a space for action-oriented builders who want to turn AI ideas into real projects. The community gives members the structure, accountability, and peer support to ship practical AI products consistently, even alongside their main jobs.
More from AI Shipping Labs
MCP
MCP lets you write a tool once and use it from many clients: your own agent, Claude Code, Cursor, VS Code. Our previous MCP workshop is more than a year old, and a lot has changed…
January 18, 2027
Durability
Agents run for minutes or hours, call slow tools and sometimes wait for a human. If the process dies halfway, the run is gone and you start over, sometimes repeating actions that …
January 12, 2027
Freestyle Workshop
A freestyle workshop: you come with your own topic, problem or question, and we work on it live. We try to turn something useful into working code during the session. Previous fre…
January 11, 2027