Jesse Johnson
New commit for backend deployment: 2025-09-25_13-24-03
c59d808

Documentation Index

🚨 Troubleshooting (Start Here)

Quick Fixes

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

API & Development

πŸ”§ 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

  1. Check error logs: tail -f ./logs/recipe_bot.log
  2. Common issues: Start with Embedding Troubleshooting
  3. API problems: See API Documentation
  4. Setup issues: Review Embedding Compatibility Guide

πŸ’‘ Tip: Bookmark the Embedding Troubleshooting page - it solves 80% of common issues!