raga-ai-hub / AgentNeo

Python SDK for Agent AI Observability, Monitoring and Evaluation Framework. Includes features like agent, llm and tools tracing, debugging multi-agentic system, self-hosted dashboard and advanced analytics with timeline and execution graph view
https://agentneo.raga.ai/
GNU General Public License v3.0
1.09k stars 76 forks source link

Add Response Latency Metric #104

Closed NastyRunner13 closed 1 week ago

NastyRunner13 commented 1 week ago

Pull Request Template

Description

This PR implements the response latency metric, which measures the time taken to complete LLM and tool calls. It provides insights into the efficiency and performance of response generation within the system.

Related Issue

None (new feature implementation).

Type of Change

How Has This Been Tested?

Checklist:

Additional Context

The response latency metric includes detailed statistics such as average latency, minimum latency, maximum latency, median latency, P90 latency, and standard deviation. This helps identify areas for optimization in LLM and tool call performance.

Impact on Roadmap

This PR aligns with the project roadmap by enhancing the system's monitoring capabilities and providing valuable performance metrics for further optimization.