curl --request GET \
--url https://api.example.com/monitoring{
"requests_total": 123,
"avg_latency_ms": 123,
"avg_retrieval_accuracy": 123,
"hallucination_rate": 123
}curl --request GET \
--url https://api.example.com/monitoring{
"requests_total": 123,
"avg_latency_ms": 123,
"avg_retrieval_accuracy": 123,
"hallucination_rate": 123
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/RaviTejaMedarametla/Data-Science-AI-Portfolio/llms.txt
Use this file to discover all available pages before exploring further.
GET /monitoring
curl http://localhost:8000/monitoring
{
"requests_total": 1250,
"avg_latency_ms": 856.3421,
"avg_retrieval_accuracy": 0.7823,
"hallucination_rate": 0.0456
}
src/qa_api.py:70-78 and src/qa_api.py:211-219):
monitoring: Dict[str, Any] = {
'requests_total': 0,
'latency_ms_total': 0.0,
'retrieval_accuracy_total': 0.0,
'hallucination_count': 0,
}