QwenLM / Qwen

The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.
Apache License 2.0
12.47k stars 1.01k forks source link

[BUG] <title>Qwen有支持OpenAI形式的functoncall的计划吗 #1273

Closed hanshaofei closed 1 month ago

hanshaofei commented 1 month ago

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

当前行为 | Current Behavior

已经查看:“如何让 Qwen-7b 使用 Langchain 中的 工具”,目前只能使用React和prompt自己实现代码,调用工具,过程比较复杂,主要原因是在“built-in support for function calling”,只能通过prompt控制,会打断所有的流程,chatglm目前支持function call,但是识别效率很低

期望行为 | Expected Behavior

期望Qwen能够支持function call,简化大模型落地步骤。

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?

No response

jklj077 commented 1 month ago

Hi, Qwen1.0 is not actively maintained and we advise you to upgrade to Qwen1.5/2 with QwenAgent.