Package com.openai.models
Interface ChatCompletionCreateParams.FunctionCall.Visitor
-
- All Implemented Interfaces:
public interface ChatCompletionCreateParams.FunctionCall.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAuto(ChatCompletionCreateParams.FunctionCall.Auto auto)nonemeans the model will not call a function and instead generates a message.abstract TvisitFunctionCallOption(ChatCompletionFunctionCallOption functionCallOption)Specifying a particular function via {"name": "my_function"}forces the model to call that function.Tunknown(JsonValue json)-
-
Method Detail
-
visitAuto
abstract T visitAuto(ChatCompletionCreateParams.FunctionCall.Auto auto)
nonemeans the model will not call a function and instead generates a message.automeans the model can pick between generating a message or calling a function.
-
visitFunctionCallOption
abstract T visitFunctionCallOption(ChatCompletionFunctionCallOption functionCallOption)
Specifying a particular function via
{"name": "my_function"}forces the model to call that function.
-
-
-
-