Skip to content
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

请问Qwen-7B插件调用那个Agent要怎么用 #47

Closed
TuDaCheng opened this issue Aug 4, 2023 · 2 comments
Closed

请问Qwen-7B插件调用那个Agent要怎么用 #47

TuDaCheng opened this issue Aug 4, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@TuDaCheng
Copy link

类似openAI那样的函数调用功能

@xusenlinzy
Copy link

通过 https://github.com/xusenlinzy/api-for-open-llm 启动模型,然后可以参考 https://github.com/xusenlinzy/api-for-open-llm/blob/master/examples/quad_calculator.py 调用工具

@JianxinMa JianxinMa self-assigned this Aug 4, 2023
@JianxinMa JianxinMa added the enhancement New feature or request label Aug 4, 2023
@JianxinMa
Copy link
Member

langchain 库提供了一些现成的工具实现,qwen 可以直接调用那些工具。关于如何让 qwen 使用 langchain 实现的工具,可以见这个示例:https://github.com/QwenLM/Qwen-7B/blob/main/examples/langchain_tooluse.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants