vhr1007 commited on
Commit
65a4410
·
verified ·
1 Parent(s): 7d3c394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -73,6 +73,10 @@ class SearchDocumentsRequest(BaseModel):
73
  class GenerateRAGRequest(BaseModel):
74
  search_query: str
75
 
 
 
 
 
76
  # Define the search documents endpoint
77
  @app.post("/api/search-documents")
78
  async def search_documents(
 
73
  class GenerateRAGRequest(BaseModel):
74
  search_query: str
75
 
76
+ @app.get("/")
77
+ async def root():
78
+ return {"message": "Welcome to the Document Indexing API!"}
79
+
80
  # Define the search documents endpoint
81
  @app.post("/api/search-documents")
82
  async def search_documents(