-
Notifications
You must be signed in to change notification settings - Fork 3.1k
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
New Feature: Anthropic Function Calling #8893
Comments
working on this now, will try to open PR this week! |
@andrewldesousa We have new function calling abstractions and a reusable implementation. I've asked @SergeyMenshykh to respond here with details of how to use this. We want to consolidate all of our function calling implementations and these abstractions will make the job of adding this functionality much easier. |
Hi @andrewldesousa, thanks for your contribution to make SK better. As @markwallace-microsoft said, we have the new function calling abstraction that we released this week - https://devblogs.microsoft.com/semantic-kernel/new-function-calling-model-available-in-net-for-semantic-kernel/ and that we plan to develop and use in all SK connectors from now on. The function call handling and function invocation functionality are encapsulated in the new FunctionCallsProcessor class. Connectors should use this class to obtain function calling configuration and process function calls and invoke funcitons. After obtaining SK function calling configuration, connectors should map it to AI model specific API configuration model classes as it's done for {Azure}OpenAI connectors - mapping of SK model to OpenAI one. Additionally, connectors should map AI model-specific API function call model classes to the SK ones and add them to the chat message content Please disregard all the code that uses the current function calling model represented by the |
@SergeyMenshykh thanks. this design is followed by both python and c sharp? |
Extend Anthropic connector to support function calling
The text was updated successfully, but these errors were encountered: