Class ChatCompletionExtraParametersBehavior
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ChatCompletionExtraParametersBehavior>
com.azure.search.documents.indexes.models.ChatCompletionExtraParametersBehavior
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ChatCompletionExtraParametersBehavior
extends com.azure.core.util.ExpandableStringEnum<ChatCompletionExtraParametersBehavior>
Specifies how 'extraParameters' should be handled by Azure AI Foundry. Defaults to 'error'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChatCompletionExtraParametersBehaviorDrops all extra parameters.static final ChatCompletionExtraParametersBehaviorRaises an error if any extra parameter is present.static final ChatCompletionExtraParametersBehaviorPasses any extra parameters directly to the model. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a ChatCompletionExtraParametersBehavior from its string representation.values()Gets known ChatCompletionExtraParametersBehavior values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PASS_THROUGH
Passes any extra parameters directly to the model. -
DROP
Drops all extra parameters. -
ERROR
Raises an error if any extra parameter is present.
-
-
Constructor Details
-
ChatCompletionExtraParametersBehavior
Deprecated.Use thefromString(String)factory method.Creates a new instance of ChatCompletionExtraParametersBehavior value.
-
-
Method Details
-
fromString
Creates or finds a ChatCompletionExtraParametersBehavior from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ChatCompletionExtraParametersBehavior.
-
values
Gets known ChatCompletionExtraParametersBehavior values.- Returns:
- known ChatCompletionExtraParametersBehavior values.
-
fromString(String)factory method.