Files
agent/scripts/test_server.py
Anibal Angulo a53f8fcf62 First commit
2026-02-18 19:57:43 +00:00

13 lines
288 B
Python

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())