Chat Completion
Following the standard set by OpenAI we're in the process of migrating from Chat Completion to Response.
- KeyValue
{
"messages": [
{
"role": "user",
"content": "Hello, can you help me with my research?"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current temperature of given location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City and country (e.g. Paris, France)"
}
},
"required": ["location"],
"additionalProperties": false
},
"strict": true
}
}
]
};Response Code
Reason
Last updated