Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
|
|
|
|
|
| 1 |
from fastapi import FastAPI, HTTPException
|
| 2 |
from pydantic import BaseModel
|
| 3 |
from agent_langchain import process_ticket_langchain, classify_ticket, call_routing, kb_collection
|
| 4 |
import chromadb
|
| 5 |
from chromadb.config import Settings
|
| 6 |
from chromadb.utils import embedding_functions
|
| 7 |
-
|
| 8 |
-
|
| 9 |
|
| 10 |
app = FastAPI(title="Smart Helpdesk AI Agent LangChain")
|
| 11 |
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import json
|
| 3 |
from fastapi import FastAPI, HTTPException
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from agent_langchain import process_ticket_langchain, classify_ticket, call_routing, kb_collection
|
| 6 |
import chromadb
|
| 7 |
from chromadb.config import Settings
|
| 8 |
from chromadb.utils import embedding_functions
|
| 9 |
+
|
| 10 |
+
|
| 11 |
|
| 12 |
app = FastAPI(title="Smart Helpdesk AI Agent LangChain")
|
| 13 |
|