Spaces:
Configuration error
Configuration error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,19 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
title: Interviewtask
|
| 3 |
-
emoji: 🚀
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: red
|
| 6 |
-
sdk: docker
|
| 7 |
-
app_port: 8501
|
| 8 |
-
tags:
|
| 9 |
-
- streamlit
|
| 10 |
-
pinned: false
|
| 11 |
-
short_description: Streamlit template space
|
| 12 |
-
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Project: AI Agent with RAG using LangGraph
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
Steps to Run:
|
| 4 |
+
1. Install requirements:
|
| 5 |
+
pip install -r requirements.txt
|
| 6 |
|
| 7 |
+
2. Add your OpenAI API key in agent_rag.py
|
| 8 |
|
| 9 |
+
3. Add knowledge.txt with domain content
|
| 10 |
+
|
| 11 |
+
4. Run:
|
| 12 |
+
python agent_rag.py
|
| 13 |
+
|
| 14 |
+
Agent Overview:
|
| 15 |
+
The agent follows a 4-stage workflow using LangGraph:
|
| 16 |
+
Plan → Retrieve → Answer → Reflect.
|
| 17 |
+
It uses ChromaDB for vector storage and OpenAI for embeddings and generation.
|