-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: funciton calls are handled by the createChat abstraction Just define the function itself inside the functions, e.g. ```diff { 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", enum: ["celsius", "fahrenheit"] }, }, required: ["location"], }, + function: { + location: "Albuquerque", + temperature: "72", + unit: "fahrenheit", + forecast: ["sunny", "windy"], + }, }, ```
- Loading branch information
Showing
8 changed files
with
3,855 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"dependencies": { | ||
"ajv": "^8.12.0", | ||
"ts-custom-error": "^3.3.1", | ||
"zod": "^3.21.4" | ||
}, | ||
|
Oops, something went wrong.