Skip to content

Conversation

ilayaperumalg
Copy link
Member

  • Deprecate existing FunctionCallingOptionsBuilder
  • Create FunctionCallingOptions.Builder which extends ChatOptions.Builder
  • Create DefaultFunctionCallingOptions which extends DefaultChatOptions and implements FunctionCallingOptions to serve the default FunctionCalling options
  • Create DefaultFunctionCallingOptionsBuilder to build the default functioncalling options
  • Update the usage of functioncalling options builder to use the newly added builder including the tests

Resolves #1874

  - Deprecate existing FunctionCallingOptionsBuilder
  - Create FunctionCallingOptions.Builder which extends ChatOptions.Builder
  - Create DefaultFunctionCallingOptions which extends DefaultChatOptions and implements FunctionCallingOptions to serve the default FunctionCalling options
  - Create DefaultFunctionCallingOptionsBuilder to build the default functioncalling options
  - Update the usage of functioncalling options builder to use the newly added builder including the tests

Resolves spring-projects#1874
 - Enable DefaultChatOptionsBuilder to accommodate any other sub types
   - Introduce generics to support sub types that extend DefaultChatOptionsBuilder
   - Update builder methods to return the sub type

 - Make FunctionCallingOptions' builder()'s return type to accommodate sub types which can extend FunctionCallingOptions.Builder
@ilayaperumalg ilayaperumalg force-pushed the function-calling-options-builder branch from 1623c6d to 0f6705b Compare December 13, 2024 23:32
@markpollack
Copy link
Member

merged b25d6e8

as an aside, we should revisit what is in the portable option, some of them aren't that portable in retrospect.

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.

Put builder class inside PortableFunctionCallingOptions
2 participants