Class OpenAiToolChoice
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.OpenAiToolChoice
OpenAi ToolChoice to specify whether to call which tool.
- Since:
- 1.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OpenAiToolChoiceOnly message generation will be performed without calling any tool.static final OpenAiToolChoiceThe model may decide whether to call a (one or more) tool.static final OpenAiToolChoiceThe model must call one or more tools as part of its processing. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOpenAiToolChoice(ChatCompletionToolChoiceOption toolChoice) -
Method Summary
-
Field Details
-
NONE
Only message generation will be performed without calling any tool. -
OPTIONAL
The model may decide whether to call a (one or more) tool. -
REQUIRED
The model must call one or more tools as part of its processing.
-
-
Constructor Details
-
OpenAiToolChoice
-
-
Method Details