chromadb

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

ChromaDB — RAG with ChromaDB

Interactive RAG chat with ChromaDB as a vector store. The collection is created automatically on first run.

Quick start

1. Start ChromaDB:

docker compose up -d

2. Run the example:

cd examples/chromadb && cp .env.example .env && go run .

For mock mode this is sufficient. For a real LLM, set LLM_PROVIDER=ollama|openai|anthropic and the corresponding keys.

Environment variables

Variable Default Description
LLM_PROVIDER mock LLM provider (mock, ollama, openai, anthropic)
EMBEDDING_DIM 1536 Vector dimension
CHROMADB_URL http://localhost:8000 ChromaDB server URL
COLLECTION_NAME draftrag_chunks Collection name

Tutorial

Detailed guide on working with ChromaDB and metadata — tutorial 04: Metadata Filter.

Documentation

Overview

@sk-task docs-and-examples#T3.1: chromadb example — RAG-чат с ChromaDB (AC-003). Использует публичный API draftrag напрямую. Shared только для mock/print.

Быстрый старт с Docker:

docker compose up -d
cp .env.example .env && go run .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL