What problem does it solve?
Chroma addresses the need for a flexible and scalable vector database for AI applications, enabling semantic search, RAG (retrieval-augmented generation), and document retrieval.
Core Features & Use Cases
- Semantic Search: Facilitates efficient searching within large document collections, leveraging embeddings for meaning-based retrieval.
- RAG Applications: Supports RAG by providing fast access to relevant information, enhancing AI-generated content.
- Document Retrieval: Allows for quick retrieval of documents based on embeddings and metadata, ideal for search engines and knowledge bases.
- Use Case: Imagine a large repository of technical documents. Chroma can help you quickly find the most relevant documents for a given query, saving time and improving productivity.
Quick Start
Install Chroma and add your documents to a collection using the following command:
pip install chromadb
collection = client.create_collection("my_collection")
collection.add(
documents=["This is document 1", "This is document 2"],
metadatas=[{"source": "doc1"}, {"source": "doc2"}],
ids=["id1", "id2"]
)