weaviate

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

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.

Documentation

Overview

@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 .

Jump to

Keyboard shortcuts

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