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

(feat) function calling incl. unit tests (first draft) #4528

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tobitege
Copy link
Collaborator

Implement function calling with file_ops methods as an example.

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions

I'm 100% sure that OH should offer such a feature, but I'm architecturally not quite sure how to combine it best with the current base.
How the files ended up is somewhat how the LLM's suggested it, and I'm pretty sure, there'll be changes needed.
There's an added test_llm_tools.py file with 10 tests.

cc @enyst @xingyaoww what do you guys think?

This replaces #4525 as this has the branch in repo to be editable here.


https://litellm.vercel.app/docs/completion/function_call

@tobitege
Copy link
Collaborator Author

For initial discussion comments see #4525

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

Successfully merging this pull request may close these issues.

1 participant