Discover Packages
github.com/bzdvdn/draftrag
examples
weaviate
command
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 14, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Weaviate — RAG with Weaviate
Interactive RAG chat with Weaviate as a vector store. The collection is created automatically on first run.
Quick start
1. Start Weaviate:
docker compose up -d
2. Run the example:
cd examples/weaviate && 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
WEAVIATE_URL
http://localhost:8080
Weaviate server URL
COLLECTION_NAME
DraftragChunk
Weaviate class name
Tutorial
Detailed guide on hybrid search — tutorial 03: Hybrid Search .
Expand ▾
Collapse ▴
Documentation
¶
@sk-task docs-and-examples#T3.2: weaviate example — RAG-чат с Weaviate (AC-004).
Использует публичный API draftrag напрямую. Shared только для mock/print.
Быстрый старт с Docker:
docker compose up -d
cp .env.example .env && go run .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.