liveBook · Manning

Chroma DB

Chroma is an open-source vector database for storing and querying embeddings and associated data, such as documents and metadata.

How 7 Manning books explain it

Grokking AI Applications

Chroma is an open-source vector database for storing embeddings and associated data and performing similarity-based retrieval.

How it is used
Builds the local vector-store layer of a RAG pipeline for ingesting document chunks and retrieving relevant context.
How deep it goes
Configures collections, disk persistence, ingestion, and top-match retrieval, without descending into vector-database internals.
Examples
Uses a pizzeria menu PDF, overlapping text chunks, a menu collection, and a menu persistence directory.
What you can do after
Build it from scratch as a local Chroma-backed RAG ingestion and retrieve-and-generate pipeline.

Read how Grokking AI Applications explains Chroma DB →

Generative AI in Action

Chroma is an open-source vector database for storing and querying embeddings and their associated documents or metadata.

How it is used
Stores PDF text and embeddings for semantic retrieval in a question-answering application.
How deep it goes
Shows configuration, saving, and retrieval workflow without explaining Chroma’s internal indexing.
Examples
Uses a PDF question-answering application with Azure OpenAI embeddings and a locally persisted Chroma store.
What you can do after
Apply it via Semantic Kernel to persist PDF text and embeddings for relevance queries.

Read how Generative AI in Action explains Chroma DB →

AI Agents and Applications

Chroma is a vector database that stores text, embeddings, and metadata and supports similarity-based retrieval.

How it is used
Serves as the vector store that retrieves relevant document chunks for semantic search and RAG question answering.
How deep it goes
Walks through collection creation, ingestion, querying, and client options, but does not detail Chroma’s indexing internals.
Examples
Uses Paestum passages with source metadata, a Doric-temples query, and Wikipedia, Word, PDF, and text ingestion examples.
What you can do after
Build it from scratch with Chroma’s Python client, or apply it via LangChain to store chunks and retrieve question-relevant text.

Read how AI Agents and Applications explains Chroma DB →

AI Agents in Action, Second Edition

Chroma DB is a database system for storing and retrieving vector embeddings and associated document data.

How it is used
Supports local semantic document retrieval for development, small-scale projects, and vector-search RAG agents.
How deep it goes
Explains chunking, embedding, collection persistence, querying, result fields, and cosine-distance interpretation without covering larger deployment options in detail.
Examples
Uses document collections, a movie script, queries such as “lazy dog,” and exercises that persist vectors and test vector-only RAG retrieval.
What you can do after
Build a local Chroma DB collection, persist embeddings, query semantic matches, and inspect returned IDs, distances, and document text.

Read how AI Agents in Action, Second Edition explains Chroma DB →

Data Storytelling with Altair and AI

Chroma is an embedding database for storing and retrieving vector representations of data.

How it is used
Supports retrieval-augmented generation by storing embedded source content for downstream language-model queries.
How deep it goes
Explains loading, chunking, embedding, persistence, retrieval, and output, without detailing Chroma's internal indexing.
Examples
Uses an HTML smartphone description, a Product-Info collection, and a generated SmartX 2023 answer with source documents.
What you can do after
Build it from scratch by persisting embedded documents in Chroma and querying them through a LangChain retrieval application.

Read how Data Storytelling with Altair and AI explains Chroma DB →

Effective Conversational AI

Chroma is an open-source vector database and retrieval system for storing and searching embedding vectors.

How it is used
Supports RAG by storing embedded document chunks and retrieving semantically similar passages for response generation.
How deep it goes
Explains chunking, embedding, storage, and retrieval, while noting alternative retrieval methods and model-dependent performance.
Examples
Uses text files, chunking experiments, open-source embeddings, Chroma ingestion, and a LangChain example.
What you can do after
Build it from scratch by chunking sample text, embedding chunks, and loading them into Chroma for retrieval experiments.

Read how Effective Conversational AI explains Chroma DB →

Build Applications with Local AI Models on a Mac

ChromaDB is an open-source vector database for storing, querying, and managing embeddings and associated data.

How it is used
Uses ChromaDB to retrieve relevant documents for a RAG response.
How deep it goes
Demonstrates creating a collection, adding documents, and finding close matches without detailing database internals.
Examples
Uses short documents about Ollama, Streamlit, RAG, and other AI tools, then retrieves an answer about Ollama.
What you can do after
Apply ChromaDB by creating a collection, adding documents, and retrieving relevant matches in a RAG example.

Read how Build Applications with Local AI Models on a Mac explains Chroma DB →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.