Documentation Index
π¨ Troubleshooting (Start Here)
Quick Fixes
- Embedding Troubleshooting - Fix dimension mismatch errors in 5 minutes
- Logging Guide - Understanding error messages and logs
Common Error Messages
| Error | Quick Fix |
|---|---|
shapes (768,) and (384,) not aligned |
Embedding dimension mismatch |
MongoDB connection failed |
Check MONGODB_URI in .env |
ChromaDB not available |
pip install langchain_chroma |
OpenAI API key invalid |
Update OPENAI_API_KEY in .env |
π Comprehensive Guides
Setup & Configuration
- Embedding Compatibility Guide - Complete guide to embedding models and dimensions
- Model Configuration Guide - Provider-specific settings, temperature limitations, and best practices
- Architecture Documentation - System overview and design patterns
- Deployment Guide - Production deployment instructions
API & Development
- API Documentation - Detailed API reference
- ChromaDB Refresh Guide - Database management and refresh procedures
π§ Developer Resources
Configuration Examples
# Most reliable setup (384D embeddings)
EMBEDDING_PROVIDER=huggingface
HUGGINGFACE_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
# Local inference setup (768D embeddings)
EMBEDDING_PROVIDER=ollama
OLLAMA_EMBEDDING_MODEL=nomic-embed-text:v1.5
# Premium quality setup (1536D embeddings)
EMBEDDING_PROVIDER=openai
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
Quick Commands
# Check current embedding configuration
grep EMBEDDING .env
# Test API health
curl http://localhost:8080/health
# Clear conversation memory
curl -X POST http://localhost:8080/clear-memory
# View recent logs
tail -f ./logs/recipe_bot.log
π File Organization
docs/
βββ README.md # This file
βββ embedding-troubleshooting.md # π¨ Quick fixes
βββ embedding-compatibility-guide.md # π Complete embedding guide
βββ model-configuration-guide.md # βοΈ LLM provider configurations
βββ logging_guide.md # π Log analysis
βββ chromadb_refresh.md # π Database management
βββ api-documentation.md # π‘ API reference
βββ architecture.md # ποΈ System design
βββ deployment.md # π Production setup
π Getting Help
- Check error logs:
tail -f ./logs/recipe_bot.log - Common issues: Start with Embedding Troubleshooting
- API problems: See API Documentation
- Setup issues: Review Embedding Compatibility Guide
π‘ Tip: Bookmark the Embedding Troubleshooting page - it solves 80% of common issues!