camel icon indicating copy to clipboard operation
camel copied to clipboard

feat:add zhipu_tookit

Open fengju0213 opened this issue 8 months ago • 2 comments

Description

ntegrate GLM-4-Assistant as a toolkit into CAMEL, introducing some tools that are not well-supported by the current CAMEL, such as drawing mind maps, creating PPTs, etc.

Current points that may need discussion are:

Whether to include the tool message from GLM-4-Assistant when calling tools in the returned results (currently included). The advantage is that users can more clearly understand what the agent has done, while the downside is that it may significantly lengthen the message.

Whether to introduce a multi-turn dialogue mode. During testing, it was observed that after some tools are executed, GLM-4-Assistant may provide additional options and ask which direction you'd like to improve in. Introducing this would require providing a conversation_id, similar to the PPT generation method.

Whether to introduce a method for autonomously selecting an assistant_id. The official documentation provides a query command, but unofficial services may be unstable.

reference:https://www.bigmodel.cn/dev/api/intelligent-agent-model/assistantapi fixed:https://github.com/camel-ai/camel/issues/2130

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • [ ] I have read the CONTRIBUTION guide (required)
  • [ ] I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • [ ] I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • [ ] I have updated the tests accordingly (required for a bug fix or a new feature)
  • [ ] I have updated the documentation if needed:
  • [ ] I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

fengju0213 avatar Apr 09 '25 12:04 fengju0213

Maybe the name of this tool can also be discussed hh

fengju0213 avatar Apr 09 '25 12:04 fengju0213

looks good

thanks @GitHoobar what do thinks about the discussion in description?

fengju0213 avatar Apr 18 '25 03:04 fengju0213