spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Fix support for FunctionCallingOptions across AI models

Open tzolov opened this issue 1 year ago • 0 comments

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

tzolov avatar Oct 02 '24 11:10 tzolov