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

DB-GPT can support function call API? #1520

Open
1 of 2 tasks
kevinsummer219 opened this issue May 15, 2024 · 5 comments
Open
1 of 2 tasks

DB-GPT can support function call API? #1520

kevinsummer219 opened this issue May 15, 2024 · 5 comments
Labels
enhancement New feature or request Waiting for reply

Comments

@kevinsummer219
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Client.chat() API can’t support function call API,how can i use function call? thanks

Use case

No response

Related issues

client.chat(

Feature Priority

None

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Aries-ckt
Copy link
Collaborator

hi, @kevinsummer219, could you give a example?

@kevinsummer219
Copy link
Author

现在的很多大模型可以实现function calling函数的调用,比如chatglm3-6b,
比如我想调用一个外部的get_curr_weather()的函数,我看现在db-gpt的接口里面没有暴露这个参数,我想知道咱们有什么简单的方式可以实现么?多谢

@fangyinc
Copy link
Collaborator

Hi @kevinsummer219, it is not supported in the open API of DB-GPT. You can consider using theToolAssistantAgent in DB-GPT.

image

@kevinsummer219
Copy link
Author

okey,thanks

@kevinsummer219
Copy link
Author

请教另外一个问题,如果我需要开发一个“提取输入对话中的多个关键词,如果输入对话中缺少一个或者多个,需提醒用户补充输入”的多轮对话,这个是采用agent还是AWEL呢?有参考demo么?

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

No branches or pull requests

3 participants