-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
35 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
26 changes: 26 additions & 0 deletions
26
java/src/test/java/com/baidubce/appbuilder/files/toolcall.json
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"type": "function", | ||
"function": { | ||
"name": "get_cur_whether", | ||
"description": "这是一个获得指定地点天气的工具", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"location": { | ||
"type": "string", | ||
"description": "省,市名,例如:河北省" | ||
}, | ||
"unit": { | ||
"type": "string", | ||
"enum": [ | ||
"摄氏度", | ||
"华氏度" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"location" | ||
] | ||
} | ||
} | ||
} |