Spaces:
Sleeping
Sleeping
Information Updated
Browse files
README.md
CHANGED
|
@@ -1,20 +1,33 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## π AI Customer Support Agent with Memory
|
| 2 |
+
This Streamlit app implements an AI-powered customer support agent for synthetic data generated using GPT-4o. The agent uses OpenAI's GPT-4o model and maintains a memory of past interactions using the Mem0 library with Qdrant as the vector store.
|
| 3 |
+
|
| 4 |
+
### Features
|
| 5 |
+
|
| 6 |
+
- Chat interface for interacting with the AI customer support agent
|
| 7 |
+
- Persistent memory of customer interactions and profiles
|
| 8 |
+
- Synthetic data generation for testing and demonstration
|
| 9 |
+
- Utilizes OpenAI's GPT-4o model for intelligent responses
|
| 10 |
+
|
| 11 |
+
### How to get Started?
|
| 12 |
+
|
| 13 |
+
1. Install the required dependencies:
|
| 14 |
+
|
| 15 |
+
```bash
|
| 16 |
+
pip install -r requirements.txt
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
2. Ensure Qdrant is running:
|
| 20 |
+
The app expects Qdrant to be running on localhost:6333. Adjust the configuration in the code if your setup is different.
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
docker pull qdrant/qdrant
|
| 24 |
+
|
| 25 |
+
docker run -p 6333:6333 -p 6334:6334 \
|
| 26 |
+
-v "$(pwd)/qdrant_storage:/qdrant/storage:z" \
|
| 27 |
+
qdrant/qdrant
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
3. Run the Streamlit App
|
| 31 |
+
```bash
|
| 32 |
+
streamlit run customer_support_agent.py
|
| 33 |
+
```
|