-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教chatglm.cpp如何支持chatglm3 的 function calling #193
Comments
貌似作者的分支已经开始支持了,new-prompt-fmt。我测试并没有成功,期待作者放出例子,感觉chatglm3的这次prompt的改动有些大,一些token的id大于60000的应该都是保留的token,防止用户注入。 |
等我去测一测 |
已经支持了 system prompt / function call / code interpreter,可以跑下 |
运行这个chatglm3_demo.py 报错。 是这个chatglm_cpp没有更新吗,今天刚安装的环境。 2023-11-22 21:07:14.770 Uncaught app exception |
我也报这个错了 我看到ChatMessage 写到_C.pyi这个文件里了。 |
可以先看看 pip show chatglm-cpp 然后在 python3 -c "import chatglm_cpp; chatglm_cpp.ChatMessage" 测试下是否有报错 |
应该是chatglm-cpp版本的问题 pip install -U chatglm-cpp 就ok了 |
同title,能不能给个demo
The text was updated successfully, but these errors were encountered: