Replies: 1 comment 22 replies
-
Hi我也在尝试使用api实现工具调用,模型一直都不会去调用工具。不知道跟你是不是一样的情况~ |
Beta Was this translation helpful? Give feedback.
22 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在服务器上起server,然后在本地终端调用api,
response = client.chat.completions.create(
model="chatglm3_6b", # 填写需要调用的模型名称
messages=messages,
tools=tools,
tool_choice="auto",
)
这样是无法识别到工具的,请问有什么好的解决办法吗?需要通过api实现
Beta Was this translation helpful? Give feedback.
All reactions