Skip to content

Tutorial for prod-like Agentic RAG with Weaviate#527

Open
sohanmaheshwar wants to merge 2 commits intomainfrom
agentic-rag
Open

Tutorial for prod-like Agentic RAG with Weaviate#527
sohanmaheshwar wants to merge 2 commits intomainfrom
agentic-rag

Conversation

@sohanmaheshwar
Copy link
Contributor

Added tutorial for Agentic RAG with Weaviate

This example has a corpus of 50 documents and some hierarchy permissions to make the example more production-like

Testing

# 1. Clone the reference implementation
git clone https://github.com/authzed/agentic-rag-weaviate
cd agentic-rag-weaviate

# 2. Start services (Weaviate + SpiceDB)
docker-compose up -d

# 3. Install Python dependencies
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# 4. Configure environment
cp .env.example .env
# Edit .env with your OpenAI API key

# 5. Initialize data (loads schema, relationships, and documents)
python3 examples/setup_environment.py

# 6. Run example queries via CLI
python3 examples/basic_example.py

# 7. (Optional) Launch the web UI
python3 run_ui.py
# Opens http://localhost:8000 automatically

@vercel
Copy link
Contributor

vercel bot commented Mar 20, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: docs.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@github-actions
Copy link
Contributor

github-actions bot commented Mar 20, 2026

Preview deployment status for this pull request.

Name Status Preview Updated (UTC)
docs 🟢 Ready Visit Preview Mar 20, 2026 01:48pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant