chroma

Store embeddings and run semantic retrieval with metadata filtering in Chroma.

Updated May 2, 2026
One-click install
npx skills add https://github.com/qcmuu/AI-Research-Skills --skill chroma-qcmuu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chroma
Source: https://github.com/qcmuu/AI-Research-Skills/tree/main/15-rag/chroma
Command: npx skills add https://github.com/qcmuu/AI-Research-Skills --skill chroma-qcmuu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chromadb, sentence-transformers, and includes references (resource) components.

What problem does it solve?

Chroma eliminates slow, manual document retrieval by turning your text into embeddings and enabling fast similarity search with metadata filters for precise RAG results.

Core Features & Use Cases

  • Semantic vector search with metadata filtering: Retrieve the most relevant chunks while narrowing results using tags, categories, timestamps, or numeric constraints.
  • Simple self-hosted embedding storage: Store embeddings and documents locally for notebooks, prototypes, and production systems.
  • Multi-framework integration: Plug into common LLM stacks like LangChain and LlamaIndex to power retrieval-augmented generation.

Use it when you are building a RAG pipeline that must search across your own knowledge base and only return sources that match constraints like document type (e.g., "tutorial"), difficulty level, or freshness date.

Quick Start

Create a Chroma collection, add your documents with metadata, and run a similarity query to get the top matching passages for your question.

Frequently Asked Questions about chroma

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a self-hosted vector database for semantic search?

You can build self-hosted semantic search by creating a Chroma collection to store text embeddings and documents locally, then executing similarity queries to retrieve relevant passages directly from your own infrastructure.

Can I filter RAG document retrieval results using metadata constraints?

Yes, you can filter RAG retrieval results by assigning metadata like tags, categories, or timestamps to documents in Chroma, then applying those metadata constraints directly during your similarity search query.

Does Chroma work with LangChain and LlamaIndex for retrieval-augmented generation?

Yes, Chroma integrates with frameworks like LangChain and LlamaIndex to power retrieval-augmented generation, allowing you to plug your self-hosted vector database directly into existing LLM application stacks.

What is the best way to store embeddings locally for Python notebook prototypes?

The best way to store embeddings locally for Python notebooks is using Chroma's persistent storage option, which saves your document chunks and vectors on disk for seamless prototype development and production scaling.

Do I need sentence-transformers to generate embeddings for Chroma?

Yes, sentence-transformers is a required dependency used to generate the vector embeddings needed to populate your Chroma collection, enabling semantic similarity search and document retrieval across your knowledge base.