Add function calling support using bolt-fc-1b (#35)

This commit is contained in:
Adil Hafeez 2024-09-10 14:24:46 -07:00 committed by GitHub
parent fdfad87347
commit 7b5203a2ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 1763 additions and 416 deletions

View file

@ -0,0 +1,29 @@
{
"messages": [
{
"role": "user",
"content": "how is the weather in San Francisco for next 5 days?"
}
],
"tools": [
{
"name": "weather_forecast",
"description": "This function resolver provides weather forecast information for a given city.",
"parameters": {
"type": "dict",
"properties": {
"days": {
"description": "The number of days for which the weather forecast is requested."
},
"units": {
"description": "The units in which the weather forecast is requested."
},
"city": {
"description": "The city for which the weather forecast is requested.",
"required": true
}
}
}
}
]
}