Interface CreateChatCompletionRequestAllOfFunctionCall
- All Known Implementing Classes:
CreateChatCompletionRequestAllOfFunctionCall.InnerChatCompletionFunctionCallOption,CreateChatCompletionRequestAllOfFunctionCall.InnerString
Deprecated.
Deprecated in favor of `tool_choice`. Controls which (if any) function is called by the
model. `none` means the model will not call a function and instead generates a message.
`auto` means the model can pick between generating a message or calling a function.
Specifying a particular function via `{\"name\": \"my_function\"}`
forces the model to call that function. `none` is the default when no functions are
present. `auto` is the default if functions are present.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordDeprecated.Helper class to createChatCompletionFunctionCallOptionthat implementsCreateChatCompletionRequestAllOfFunctionCall.static final recordDeprecated.Helper class to createStringthat implementsCreateChatCompletionRequestAllOfFunctionCall. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creator to enable deserialization ofString.Deprecated.Creator to enable deserialization ofChatCompletionFunctionCallOption.
-
Method Details
-
create
@Nonnull static CreateChatCompletionRequestAllOfFunctionCall.InnerString create(@Nonnull String val) Deprecated.Creator to enable deserialization ofString.- Parameters:
val- the value to use- Returns:
- a new instance of
CreateChatCompletionRequestAllOfFunctionCall.InnerString.
-
createInnerChatCompletionFunctionCallOption
@Nonnull static CreateChatCompletionRequestAllOfFunctionCall.InnerChatCompletionFunctionCallOption createInnerChatCompletionFunctionCallOption(@Nonnull ChatCompletionFunctionCallOption val) Deprecated.Creator to enable deserialization ofChatCompletionFunctionCallOption.- Parameters:
val- the value to use- Returns:
- a new instance of
CreateChatCompletionRequestAllOfFunctionCall.InnerChatCompletionFunctionCallOption.
-