interviewtask / readme.md
krishna1705's picture
Upload readme.md
018e104 verified
|
Raw
History Blame Contribute Delete
444 Bytes
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.