Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md


VoltAgent with Chroma Vector Database Integration
This example demonstrates how to integrate VoltAgent with Chroma vector database for advanced knowledge management and retrieval.

npm version Contributor Covenant Discord Twitter Follow


VoltAgent with Chroma

This example demonstrates VoltAgent integration with Chroma vector database for RAG (Retrieval-Augmented Generation) capabilities. It includes two different agent configurations showcasing automatic and tool-based retrieval patterns.

Quick Start

Option 1: Local Development

Start Chroma server:

npm run chroma run

Run the example:

npm create voltagent-app@latest -- --example with-chroma
cd with-chroma
cp .env.example .env  # Add your OPENAI_API_KEY
npm run dev

Option 2: Chroma Cloud

No server setup needed! Just configure your environment:

npm create voltagent-app@latest -- --example with-chroma
cd with-chroma
cp .env.example .env  # Add OPENAI_API_KEY, CHROMA_API_KEY, CHROMA_TENANT, CHROMA_DATABASE
npm run dev

What's Included

  • Two Agent Types: Automatic retrieval vs. tool-based retrieval
  • Pre-loaded Knowledge Base: Sample documents ready to query
  • Vector Search: Semantic search capabilities with Chroma
  • Source Tracking: References to used documents in responses

Full Documentation

For complete setup instructions, usage examples, customization options, and troubleshooting, see the VoltAgent Chroma Integration Guide.

Learn More