{
"anthropic_metadata": {
"effort": "medium",
"thinking": {
"budget_tokens": 1024,
"type": "enabled"
}
},
"azure_openai_metadata": {
"deployment_id": "my-gpt4-deployment",
"model_version": "0613",
"resource_name": "my-azure-resource"
},
"bedrock_metadata": {
"region": "us-east-1"
},
"error_response": {
"message": "The model does not exist.",
"type": "invalid_request_error"
},
"frequency_penalty": 0,
"json_schema": "{\"type\":\"object\",\"properties\":{\"answer\":{\"type\":\"string\"}}}",
"max_completion_tokens": 1024,
"max_tokens": 1024,
"messages": [
{
"content": "What is the capital of France?",
"contents": [
{
"type": "text",
"value": {
"text": "Hello, how can I help you?",
"tool_call": {
"arguments": {
"location": "San Francisco"
},
"name": "get_weather",
"tool_id": "call_abc123",
"type": "function"
},
"tool_call_result": {
"name": "get_weather",
"result": "The weather in San Francisco is 68°F and sunny.",
"tool_id": "call_abc123",
"type": "function"
}
}
}
],
"id": "msg_001",
"role": "user",
"tool_calls": [
{
"arguments": {
"location": "San Francisco"
},
"name": "get_weather",
"tool_id": "call_abc123",
"type": "function"
}
],
"tool_results": [
{
"name": "get_weather",
"result": "The weather in San Francisco is 68°F and sunny.",
"tool_id": "call_abc123",
"type": "function"
}
]
}
],
"model_id": "gpt-4o",
"openai_metadata": {
"reasoning_effort": "medium",
"reasoning_summary": "auto"
},
"presence_penalty": 0,
"response": {
"assessment": "pass",
"content": "The capital of France is Paris.",
"finish_reason": "stop",
"inference_codes": [
{
"code": "import openai\nclient = openai.OpenAI()\n...",
"id": "code-python-001",
"type": "python"
}
],
"input_tokens": 15,
"internal_reasoning": {
"reasoning_tokens": 256,
"text": "Let me think about this step by step..."
},
"latency": 843,
"output_tokens": 10,
"tools": [
{
"function": {
"description": "Get the current weather for a location.",
"name": "get_weather",
"parameters": {
"properties": {
"location": {
"type": "string"
}
},
"type": "object"
}
},
"type": "function"
}
],
"total_tokens": 25
},
"temperature": 0.7,
"tools": [
{
"function": {
"description": "Get the current weather for a location.",
"name": "get_weather",
"parameters": {
"properties": {
"location": {
"type": "string"
}
},
"type": "object"
}
},
"type": "function"
}
],
"top_k": 50,
"top_p": 1,
"vertex_ai_metadata": {
"location": "us-central1",
"project": "my-gcp-project",
"project_ids": [
"my-gcp-project"
]
}
}