Spaces:
Configuration error
Configuration error
File size: 427 Bytes
9f8251d acf6a4f 9f8251d acf6a4f 9f8251d acf6a4f 9f8251d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Project: AI Agent with RAG using LangGraph
Steps to Run:
1. Install requirements:
pip install -r requirements.txt
2. Add your OpenAI API key in agent_rag.py
3. Add knowledge.txt with domain content
4. Run:
python agent_rag.py
Agent Overview:
The agent follows a 4-stage workflow using LangGraph:
Plan → Retrieve → Answer → Reflect.
It uses ChromaDB for vector storage and OpenAI for embeddings and generation.
|