ChromaDB
ChromaDB is an open-source vector database designed for AI applications and large language model scenarios. It supports storing, indexing, and querying high-dimensional vector embeddings, enabling efficient semantic similarity search. ChromaDB offers both local deployment and cloud-based operating modes, with interfaces for mainstream programming languages including Python and JavaScript. It is commonly used in building retrieval-augmented generation (RAG) systems, semantic search, and long-term memory management applications.
Core Facts
RAG(检索增强生成)技术架构将文档切片、向量化、存入向量数据库,查询时先检索相关片段再交给模型生成回答
An Agent's memory system is typically divided into three levels: working memory (current conversation context window), short-term memory (recent interaction history), and long-term memory (persistently stored via a vector database)
Vector databases (such as ChromaDB, Milvus, and Pinecone) use indexing algorithms such as HNSW and IVF to achieve millisecond-level retrieval among millions or even hundreds of millions of vectors.
Timeline (last 90 days)
The course hands-on project uses the Gemini embedding model to generate vectors, and the core call is client.models.embed_content, passing in the model name (such as gemini-embedding-001).
ScopeGuard's AI pipeline includes Ollama local LLM inference, ChromaDB vector retrieval, SentenceTransformers local embeddings, a deterministic NLP fallback engine and a deterministic pricing engine.
The hands-on project's tech stack includes ChromaDB, the all-MiniLM-L6-v2 embedding model, a weather service built on FastMCP, and the Claude model called via the Anthropic API.
Boge calls RAG "a relatively common and low-cost solution in enterprises," and the course will lead learners through a complete implementation of the RAG workflow in Java code, involving vector databases such as ChromaDB and Milvus.
ChromaDB's semantic search uses nearest-neighbor retrieval, by default using cosine similarity, supports specifying top-k with n_results, and supports where metadata filtering.
RecallOS is a local AI document memory and search assistant based on Python, relying on Streamlit, Ollama and ChromaDB.
Once an embedding model is determined, it cannot be changed midway, otherwise the newly written vectors will be inconsistent in dimension with the old vectors, ChromaDB will report an error, and all historical data can only be rebuilt.
Chat history can be stored in SQLite and searched with FTS5 full-text indexing; it can also be embedded and stored in another collection in ChromaDB, but care must be taken to distinguish the document collection from the conversation collection to avoid retrieval contamination.
The motivation for the localization refactor is privacy: the terminal application confines data flow to the local process, with Ollama and Sentence Transformers doing local inference and ChromaDB persisting locally to disk.
On an Apple M4 (16GB memory), running all-MiniLM-L6-v2 through ChromaDB embedded 50,000 documents in 161.6 seconds (309 per second), with no dedicated GPU required.
4 more timeline events
All Facts (20)
RAG(检索增强生成)技术架构将文档切片、向量化、存入向量数据库,查询时先检索相关片段再交给模型生成回答
90%VerifiedAn Agent's memory system is typically divided into three levels: working memory (current conversation context window), short-term memory (recent interaction history), and long-term memory (persistently stored via a vector database)
80%VerifiedVector databases (such as ChromaDB, Milvus, and Pinecone) use indexing algorithms such as HNSW and IVF to achieve millisecond-level retrieval among millions or even hundreds of millions of vectors.
80%Verified常见的向量数据库包括ChromaDB、Milvus、Pinecone、Weaviate,它们针对高维向量的近似最近邻(ANN)搜索进行了专门优化
80%Verified长期记忆Agent通常基于RAG(检索增强生成)技术构建,通过向量数据库将信息转化为高维向量并持久化存储
80%VerifiedChromaDB is an open-source vector database that supports multiple similarity calculation methods such as cosine similarity and Euclidean distance, and provides persistent storage and metadata filtering capabilities.
80%VerifiedRAG (Retrieval-Augmented Generation) typically comprises three core components: a vector database, a retriever (which recalls relevant document chunks based on cosine similarity), and a generator.
70%VerifiedChromaDB is an open-source embedded vector database designed specifically for AI applications, released in late 2022.
65%VerifiedChromaDB is an open-source embedded vector database that can run entirely locally without a network connection.
65%UnverifiedOpen WebUI has a built-in complete RAG pipeline, so users do not need to separately deploy vector databases such as ChromaDB or Milvus.
90%UnverifiedAutoGPT implements long-term memory through vector databases (such as Pinecone, ChromaDB, etc.), overcoming the LLM context window limitation.
85%Partially VerifiedAnythingLLM has built-in support for multiple vector databases including ChromaDB, Pinecone, LanceDB, and Weaviate.
80%UnverifiedCompared to production-grade vector databases such as Pinecone, Milvus, and Weaviate, ChromaDB is better suited for prototype development and small-to-medium-scale applications.
60%UnverifiedThe course hands-on project uses the Gemini embedding model to generate vectors, and the core call is client.models.embed_content, passing in the model name (such as gemini-embedding-001).
50%UnverifiedScopeGuard's AI pipeline includes Ollama local LLM inference, ChromaDB vector retrieval, SentenceTransformers local embeddings, a deterministic NLP fallback engine and a deterministic pricing engine.
50%UnverifiedThe hands-on project's tech stack includes ChromaDB, the all-MiniLM-L6-v2 embedding model, a weather service built on FastMCP, and the Claude model called via the Anthropic API.
50%UnverifiedBoge calls RAG "a relatively common and low-cost solution in enterprises," and the course will lead learners through a complete implementation of the RAG workflow in Java code, involving vector databases such as ChromaDB and Milvus.
50%UnverifiedRecallOS is a local AI document memory and search assistant based on Python, relying on Streamlit, Ollama and ChromaDB.
50%UnverifiedOnce an embedding model is determined, it cannot be changed midway, otherwise the newly written vectors will be inconsistent in dimension with the old vectors, ChromaDB will report an error, and all historical data can only be rebuilt.
50%UnverifiedThe motivation for the localization refactor is privacy: the terminal application confines data flow to the local process, with Ollama and Sentence Transformers doing local inference and ChromaDB persisting locally to disk.
50%