18 lines
495 B
Python
18 lines
495 B
Python
FUNCTIONS = [
|
|
{
|
|
"name": "get_current_weather",
|
|
"description": "Get the current weather in a given location",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"location": {
|
|
"type": "string",
|
|
"description": "The city and state, e.g. San Francisco, CA",
|
|
},
|
|
"unit": {"type": "string"},
|
|
},
|
|
"required": ["location"],
|
|
},
|
|
}
|
|
]
|