id
string
model
string
timestamp
string
messages
list
assistant_message
null
completion_tokens
int64
prompt_tokens
int64
total_tokens
int64
finish_reason
string
tool_calls
string
function_call
null
tags
sequence
properties
null
error
null
raw_response
string
arguments
string
chatcmpl-AfVwaZtg8uMZeMabmyZ3jkDt3L1aL
gpt-4o
2024-12-17T18:46:44.954406
[ { "content": "You are a helpful customer support assistant. Use the supplied tools to assist the user.", "role": "system" }, { "content": "Hi, can you tell me the delivery date for my order? It's order 1234567890.", "role": "user" } ]
null
19
115
134
tool_calls
[{"id": "call_i0JFMO4LxXNKCnn6mDcy0TcG", "function": {"arguments": "{\"order_id\":\"1234567890\"}", "name": "get_delivery_date"}, "type": "function"}]
null
[]
null
null
{"id": "chatcmpl-AfVwaZtg8uMZeMabmyZ3jkDt3L1aL", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "audio": null, "function_call": null, "tool_calls": [{"id": "call_i0JFMO4LxXNKCnn6mDcy0TcG", "function": {"arguments": "{\"order_id\":\"1234567890\"}", "name": "get_delivery_date"}, "type": "function"}]}}], "created": 1734457604, "model": "gpt-4o-2024-08-06", "object": "chat.completion", "service_tier": null, "system_fingerprint": "fp_a79d8dac1f", "usage": {"completion_tokens": 19, "prompt_tokens": 115, "total_tokens": 134, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cached_tokens": 0}}}
{"tools": [{"type": "function", "function": {"name": "get_delivery_date", "description": "Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'", "parameters": {"type": "object", "properties": {"order_id": {"type": "string", "description": "The customer's order ID."}}, "required": ["order_id"], "additionalProperties": false}}}]}