Closed foldl closed 1 month ago
Not applicable.
@abmfy We can see two different field names for parameters of a function: params and parameters. Which one is correct? Or both are OK?
params
parameters
https://github.com/THUDM/ChatGLM3/blob/08b01f50dccf540172d9f63e7f23b7e6de0ebc23/tools_using_demo/tool_register.py#L40
https://github.com/THUDM/ChatGLM3/blob/08b01f50dccf540172d9f63e7f23b7e6de0ebc23/composite_demo/tool_registry.py#L44
Check the code.
tool_def in two examples shall be the same.
tool_def
System Info / 系統信息
Not applicable.
Who can help? / 谁可以帮助到您?
@abmfy We can see two different field names for parameters of a function:
params
andparameters
. Which one is correct? Or both are OK?https://github.com/THUDM/ChatGLM3/blob/08b01f50dccf540172d9f63e7f23b7e6de0ebc23/tools_using_demo/tool_register.py#L40
https://github.com/THUDM/ChatGLM3/blob/08b01f50dccf540172d9f63e7f23b7e6de0ebc23/composite_demo/tool_registry.py#L44
Information / 问题信息
Reproduction / 复现过程
Check the code.
Expected behavior / 期待表现
tool_def
in two examples shall be the same.