{
"user_query": "Find a coffee shop near me with free Wi-Fi in San Francisco.",
"functions": [
{
"name": "Coffee Shop Locator",
"function": "coffee_shop.find_nearby",
"description": "Locate nearby coffee shops based on specific criteria like Wi-Fi availability.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"required": true,
"items": {},
"description": "The city and state, e.g. San Francisco, CA"
},
"amenities": {
"type": "array",
"required": false,
"items": {
"type": "string",
"enum": [
"Wi-Fi",
"Outdoor Seating",
"Bakery",
"Vegetarian Options"
]
},
"description": "Preferred amenities."
}
}
}
}
],
"model_answer_openai": {
"api_call": "coffee_shop.find_nearby",
"parameters": {
"location": "San Francisco",
"amenities": ["Wi-Fi"]
}
},
"model_answer_normal": "coffee_shop.find_nearby(location=\"San Francisco\", amenities=[\"Wi-Fi\"])"
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Jarvis-AI-project/function_call_generator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This submodule is responsible for generation of *Apropriate* "Function Call" for the user query from all the functions present in database (vector database).
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published