Hi, I cloned the Agentic RAG repo and built the project successfully. Using Chat UI, I am able to upload documents and query and get results related to them. Now, I want to access that endpoint via Python code. But I am not able to figure out exactly which endpoint to infer and what parameters to pass. Any suggestions would be very helpful. (Chat UI is running on localhost 10000)
Python code :-
query = “What are the symptoms of dementia?”
response = requests.post(
“http://localhost:10000/projects/agentic-rag/applications/chat/”, # or /chat or whatever endpoint your RAG server is exposing
json={“query”: query}
)
print(response.json())
Agentic RAG repo - GitHub - ananaygupta70/workbench-example-agentic-rag: An NVIDIA AI Workbench example project for an Agentic Retrieval Augmented Generation (RAG)
Please tick the appropriate box to help us categorize your post
Bug or Error
Feature Request
Documentation Issue
Other