mirror of
https://github.com/JasonYANG170/CodeGeeX4.git
synced 2024-11-23 12:16:33 +00:00
ADD README Files
This commit is contained in:
parent
9385666df5
commit
d780cc888f
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user