Files
duocthu/apps/ai-service

ai-service

Python/FastAPI. RAG orchestration: embed query -> vector search in Qdrant -> build grounded prompt -> call OpenAI chat completion -> return answer + citations. Stateless — does not own chat history itself.