@@ -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
The note is not visible to the blocked user.