last commi

This commit is contained in:
timothyafolami
2024-08-16 21:39:28 +01:00
parent 83ecbded4b
commit ddd0dda276
18 changed files with 429 additions and 12 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ app.add_middleware(
class SearchRequest(BaseModel):
query: str
@app.get("/load_documents")
@app.post("/load_documents")
def load_documents(directory: str):
# loading the documents from the directory