ADD README Files

This commit is contained in:
shaobo 2024-07-17 16:49:19 +08:00
parent 9385666df5
commit d780cc888f

View File

@ -25,7 +25,7 @@ python main.py
## Explanation ## Explanation
### 1. Single Call of Multiple Tools ### 1. Single Call from Multiple Tools
In the example script, only one tool is provided as a candidate. However, you can also provide multiple tools as candidates as needed. In the example script, only one tool is provided as a candidate. However, you can also provide multiple tools as candidates as needed.
Here is an example: Here is an example:
@ -87,7 +87,7 @@ The following result is obtained
[{'name': 'Cooking/queryDish', 'arguments': {'cuisine': 'Sichuan cuisine', 'dish': 'Kung-Pao Chicken'}}] [{'name': 'Cooking/queryDish', 'arguments': {'cuisine': 'Sichuan cuisine', 'dish': 'Kung-Pao Chicken'}}]
``` ```
### 2. Multiple Invocations of Multiple Tools ### 2. Multiple Calls from Multiple Tools
Additionally, for complex problems, the model has the ability to select and call multiple tools from the candidates. Here is an example: Additionally, for complex problems, the model has the ability to select and call multiple tools from the candidates. Here is an example: