-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve custom agentchat agent docs with model clients (gemini exampl…
…e) and serialization (#5468) This PR improves documentation on custom agents - Shows example on how to create a custom agent that directly uses a model client. In this case an example of a GeminiAssistantAgent that directly uses the Gemini SDK model client. - Shows that that CustomAgent can be easily added to any agentchat team - Shows how the same CustomAgent can be made declarative by inheriting the Component interface and implementing the required methods. Closes #5450
- Loading branch information
1 parent
2612796
commit cd085e6
Showing
9 changed files
with
796 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
736 changes: 736 additions & 0 deletions
736
python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/custom-agents.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
cd085e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One interesting thing to maybe add is the documentation of Gemini to provide additionnal information about the capabilities and the way to access the multimodal capabilities for example
https://ai.google.dev/gemini-api/docs/migrate
https://ai.google.dev/gemini-api/docs/multimodal-live
https://ai.google.dev/gemini-api/docs/vision?lang=python
etc
might be handy for those using the new python sdk