import requests # Test the /sigma-rag endpoint url = "http://localhost:8000/sigma-rag" data = { "sessionInfo": {"parameters": {"query": "What are the benefits of a credit card?"}} } response = requests.post(url, json=data) print("Response from /sigma-rag:") print(response.json())