Skip to content

Conversation

@tzolov
Copy link
Contributor

@tzolov tzolov commented Oct 2, 2024

Adds support for PortableFunctionCallingOptions across AI models

  • Modify FunctionCallingOptions interface to extend ChatOptions for better integration
  • Refactor option handling in chat models to accommodate both ChatOptions and FunctionCallingOptions
  • Implement handling of FunctionCallingOptions in Anthropic, Azure OpenAI,
    MistralAI, Ollama, OpenAI, VertexAI Gemini, and other models
  • Update existing function calling tests to use new FunctionCallingOptions.

Resolves: #624

  Add support for PortableFunctionCallingOptions across AI models

  - Modify FunctionCallingOptions interface to extend ChatOptions for better integration
  - Refactor option handling in chat models to accommodate both ChatOptions and FunctionCallingOptions
  - Implement handling of FunctionCallingOptions in Anthropic, Azure OpenAI,
    MistralAI, Ollama, OpenAI, VertexAI Gemini, and other models
  - Update existing function calling tests to use new FunctionCallingOptions.

  Resolves spring-projects#624
@tzolov tzolov force-pushed the gh624-portable-function-optiosn branch from c414134 to 029da4f Compare October 2, 2024 11:26
@tzolov tzolov added this to the 1.0.0-M3 milestone Oct 2, 2024
@markpollack markpollack self-assigned this Oct 4, 2024
@markpollack
Copy link
Member

merged in 45c6622

@markpollack markpollack closed this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function calling - FunctionCallingOptions doesn't work with OpenAiChatClient/AzureOpenAiChatClient

2 participants