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

[AutoBuild] new feature: function calling #2298

Closed

Conversation

krishnashed
Copy link
Contributor

Why are these changes needed?

Introduction of Autobuild, didn't support function/tool calling. This PR is solution to add this feature/

Related issue number

Closes #1510

Checks

Check and tests still need to be written and passed.

@codecov-commenter
Copy link

codecov-commenter commented Apr 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 19.82%. Comparing base (03259b2) to head (0ee0f8f).
Report is 10 commits behind head on main.

Files Patch % Lines
autogen/agentchat/contrib/agent_builder.py 0.00% 12 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2298       +/-   ##
===========================================
- Coverage   32.45%   19.82%   -12.63%     
===========================================
  Files          93      100        +7     
  Lines       10109    10329      +220     
  Branches     2172     2359      +187     
===========================================
- Hits         3281     2048     -1233     
- Misses       6544     8082     +1538     
+ Partials      284      199       -85     
Flag Coverage Δ
unittests 19.78% <0.00%> (-12.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sonichi sonichi requested a review from LeoLjl April 6, 2024 01:17
@LinxinS97
Copy link
Collaborator

Autobuild will dramatically change in the next few weeks with newly designed prompts and a new retrieval system, including how to bind tools with agents. I suggest closing this PR and resubmitting it after the new Autobuild release.

@sonichi
Copy link
Contributor

sonichi commented Apr 14, 2024

@LinxinS97 thanks for the headsup. Could you include @krishnashed as a reviewer for the changes? If there is a mutual interest, also invite @krishnashed to test it.

@krishnashed
Copy link
Contributor Author

Sure @sonichi @LinxinS97 I'm very interested, I would like to contribute in any way I can.

@krishnashed
Copy link
Contributor Author

Autobuild will dramatically change in the next few weeks with newly designed prompts and a new retrieval system, including how to bind tools with agents. I suggest closing this PR and resubmitting it after the new Autobuild release.

@LinxinS97 I looked up open issues/PRs but didn't find anything revolving around change in tools/function bindings, Could you share some links about where we are heading to? Is there something I can contribute to in that work ?

Is this the format we will define and utilize functions: https://microsoft.github.io/autogen/docs/topics/code-execution/user-defined-functions ? So should the changes be made according to this ?

@LinxinS97
Copy link
Collaborator

Autobuild will dramatically change in the next few weeks with newly designed prompts and a new retrieval system, including how to bind tools with agents. I suggest closing this PR and resubmitting it after the new Autobuild release.

@LinxinS97 I looked up open issues/PRs but didn't find anything revolving around change in tools/function bindings, Could you share some links about where we are heading to? Is there something I can contribute to in that work ?

Is this the format we will define and utilize functions: https://microsoft.github.io/autogen/docs/topics/code-execution/user-defined-functions ? So should the changes be made according to this ?

We will separate tool_builder and agent_builder into two files. tool_builder will be released next week, and you can continue contributing to that PR.

@krishnashed
Copy link
Contributor Author

Sure @LinxinS97 that's great. Can you please point me to the PR, GitHub Issue or a doc where it's described more in detail. So that I can get started ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autobuilder Issues related to autobuilder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: how do we add tools to agents created by AgentBuilder ?
4 participants