my-company)UPLOAD_API_KEY in .env).pdf or .txt fileGROQ_API_KEY ✅ — Get free at groq.com RESEND_API_KEY ❌ — For escalation emails HUMAN_AGENT_EMAIL ❌ — Who gets escalation emails UPLOAD_API_KEY ✅ changeme Protects the upload endpoint CONFIDENCE_THRESHOLD ❌ 0.65 0.0–1.0, higher = more escalations DATABASE_URL ❌ sqlite:///./resolva.db SQLAlchemy URL CHROMA_DB_PATH ❌ ./chroma_db Vector store path MAX_UPLOAD_SIZE_MB ❌ 10 Max upload file size/chat Send a message, get AI response POST /upload Upload knowledge base document GET /tickets List escalated tickets PATCH /tickets/{id}/resolve Mark ticket resolved GET /analytics Get stats (total, escalated, avg confidence) GET /health Health checkWarning: Railway/Render free tier has ephemeral storage. ChromaDB and SQLite data resets on every restart. For persistence without cost, use Chroma Cloud free tier and swapPersistentClientforHttpClientinbackend/rag/embedder.py.
Posted Sep 28, 2026
Developed an AI customer support agent system using a AI tech stack.
0
1