🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
{
"trace": {
"id": "f68601af42c4a35e1d5e4699de569c1f",
"projectId": "cmjjlsmpf01q5ad083m5ud2p5",
"name": "chat gemini-2.5-flash",
"timestamp": "2025-12-24T06:01:17.850Z",
"environment": "251216-langfuse-v3-test",
"tags": [],
"bookmarked": false,
"release": null,
"version": null,
"userId": null,
"sessionId": null,
"public": true,
"input": "\"[{\\\"role\\\":\\\"user\\\",\\\"parts\\\":[{\\\"type\\\":\\\"text\\\",\\\"content\\\":\\\"what is 1+1?\\\\nOutput format:\\\\n```json\\\\n{\\\\n \\\\\\\"answer\\\\\\\": your answer,\\\\n \\\\\\\"rationale\\\\\\\": \\\\\\\"explanation for answer\\\\\\\"\\\\n}\\\\n```\\\"}]}]\"",
"output": "\"[{\\\"role\\\":\\\"assistant\\\",\\\"parts\\\":[{\\\"type\\\":\\\"text\\\",\\\"content\\\":\\\"{\\\\\\\"answer\\\\\\\": \\\\\\\"2\\\\\\\", \\\\\\\"rationale\\\\\\\": \\\\\\\"The operation 1+1 is a basic arithmetic addition. Adding the integer 1 to itself results in the integer 2.\\\\\\\"}\\\"}],\\\"finish_reason\\\":\\\"stop\\\"}]\"",
"createdAt": "2025-12-24T06:01:20.000Z",
"updatedAt": "2025-12-24T06:01:20.032Z",
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"google-gla\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"server.address\":\"generativelanguage.googleapis.com\",\"model_request_parameters\":\"{\\\"function_tools\\\": [], \\\"builtin_tools\\\": [], \\\"output_mode\\\": \\\"native\\\", \\\"output_object\\\": {\\\"json_schema\\\": {\\\"properties\\\": {\\\"answer\\\": {\\\"type\\\": \\\"string\\\"}, \\\"rationale\\\": {\\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"answer\\\", \\\"rationale\\\"], \\\"type\\\": \\\"object\\\"}, \\\"name\\\": null, \\\"description\\\": null, \\\"strict\\\": true}, \\\"output_tools\\\": [], \\\"allow_text_output\\\": true, \\\"allow_image_output\\\": false}\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"gen_ai.input.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"gen_ai.output.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"model_request_parameters\\\": {\\\"type\\\": \\\"object\\\"}}}\",\"gen_ai.usage.input_tokens\":\"40\",\"gen_ai.usage.output_tokens\":\"159\",\"gen_ai.usage.details.thoughts_tokens\":\"121\",\"gen_ai.usage.details.text_prompt_tokens\":\"40\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"operation.cost\":\"0.0004095\",\"gen_ai.response.id\":\"r4FLad_IHojq1e8Pt6i7GA\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"langfuse.environment\":\"251216-langfuse-v3-test\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"1.11.0\",\"attributes\":{}}}",
"scores": [],
"corrections": [],
"latency": 1.82,
"observations": [
{
"id": "8ffb64580a84a3f0",
"traceId": "f68601af42c4a35e1d5e4699de569c1f",
"startTime": "2025-12-24T06:01:17.850Z",
"endTime": "2025-12-24T06:01:19.670Z",
"projectId": "cmjjlsmpf01q5ad083m5ud2p5",
"parentObservationId": null,
"type": "GENERATION",
"environment": "251216-langfuse-v3-test",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-12-24T06:01:19.945Z",
"updatedAt": "2025-12-24T06:01:19.949Z",
"input": null,
"output": null,
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 1.82,
"timeToFirstToken": null,
"usageDetails": {
"input": 40,
"output": 159,
"total": 199
},
"costDetails": {
"input": 0.000012,
"output": 0.0003975,
"total": 0.0004095
},
"providedCostDetails": {},
"inputCost": 0.000012,
"outputCost": 0.0003975,
"totalCost": 0.0004095,
"inputUsage": 40,
"outputUsage": 159,
"totalUsage": 199,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
}
]
},
"observations": [
{
"id": "8ffb64580a84a3f0",
"traceId": "f68601af42c4a35e1d5e4699de569c1f",
"startTime": "2025-12-24T06:01:17.850Z",
"endTime": "2025-12-24T06:01:19.670Z",
"projectId": "cmjjlsmpf01q5ad083m5ud2p5",
"parentObservationId": null,
"type": "GENERATION",
"environment": "251216-langfuse-v3-test",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-12-24T06:01:19.945Z",
"updatedAt": "2025-12-24T06:01:19.949Z",
"input": "[{\"role\": \"user\", \"parts\": [{\"type\": \"text\", \"content\": \"what is 1+1?\\nOutput format:\\n```json\\n{\\n \\\"answer\\\": your answer,\\n \\\"rationale\\\": \\\"explanation for answer\\\"\\n}\\n```\"}]}]",
"output": "[{\"role\": \"assistant\", \"parts\": [{\"type\": \"text\", \"content\": \"{\\\"answer\\\": \\\"2\\\", \\\"rationale\\\": \\\"The operation 1+1 is a basic arithmetic addition. Adding the integer 1 to itself results in the integer 2.\\\"}\"}], \"finish_reason\": \"stop\"}]",
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 1.82,
"timeToFirstToken": null,
"usageDetails": {
"input": 40,
"output": 159,
"total": 199
},
"costDetails": {
"input": 0.000012,
"output": 0.0003975,
"total": 0.0004095
},
"providedCostDetails": {},
"inputCost": 0.000012,
"outputCost": 0.0003975,
"totalCost": 0.0004095,
"inputUsage": 40,
"outputUsage": 159,
"totalUsage": 199,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"google-gla\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"server.address\":\"generativelanguage.googleapis.com\",\"model_request_parameters\":\"{\\\"function_tools\\\": [], \\\"builtin_tools\\\": [], \\\"output_mode\\\": \\\"native\\\", \\\"output_object\\\": {\\\"json_schema\\\": {\\\"properties\\\": {\\\"answer\\\": {\\\"type\\\": \\\"string\\\"}, \\\"rationale\\\": {\\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"answer\\\", \\\"rationale\\\"], \\\"type\\\": \\\"object\\\"}, \\\"name\\\": null, \\\"description\\\": null, \\\"strict\\\": true}, \\\"output_tools\\\": [], \\\"allow_text_output\\\": true, \\\"allow_image_output\\\": false}\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"gen_ai.input.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"gen_ai.output.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"model_request_parameters\\\": {\\\"type\\\": \\\"object\\\"}}}\",\"gen_ai.usage.input_tokens\":\"40\",\"gen_ai.usage.output_tokens\":\"159\",\"gen_ai.usage.details.thoughts_tokens\":\"121\",\"gen_ai.usage.details.text_prompt_tokens\":\"40\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"operation.cost\":\"0.0004095\",\"gen_ai.response.id\":\"r4FLad_IHojq1e8Pt6i7GA\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"langfuse.environment\":\"251216-langfuse-v3-test\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"1.11.0\",\"attributes\":{}}}",
"internalModel": "cmcnjkfwn000107l43bf5e8ax"
}
]
}