Spaces:
Sleeping
Sleeping
UPDATE: QDRANT
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ async def addText(vectorstore: str, text: str):
|
|
| 49 |
|
| 50 |
@app.post("/answerQuery")
|
| 51 |
async def answerQuestion(query: str, vectorstore: str, llmModel: str = "llama3-70b-8192"):
|
| 52 |
-
return answerQuery(query=query, vectorstore=vectorstore, llmModel=llmModel)
|
| 53 |
|
| 54 |
|
| 55 |
@app.post("/deleteChatbot")
|
|
|
|
| 49 |
|
| 50 |
@app.post("/answerQuery")
|
| 51 |
async def answerQuestion(query: str, vectorstore: str, llmModel: str = "llama3-70b-8192"):
|
| 52 |
+
return answerQuery(query=str(query), vectorstore=str(vectorstore), llmModel=llmModel)
|
| 53 |
|
| 54 |
|
| 55 |
@app.post("/deleteChatbot")
|