ChatCompletionExtraParametersBehavior Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. ChatCompletionExtraParametersBehavior
- com.
- com.
public final class ChatCompletionExtraParametersBehavior
extends ExpandableStringEnum<ChatCompletionExtraParametersBehavior>
Specifies how 'extraParameters' should be handled by Azure AI Foundry. Defaults to 'error'.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Chat |
DROP
Drops all extra parameters. |
|
static final
Chat |
ERROR
Raises an error if any extra parameter is present. |
|
static final
Chat |
PASS_THROUGH
Passes any extra parameters directly to the model. |
Constructor Summary
| Constructor | Description |
|---|---|
| ChatCompletionExtraParametersBehavior() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Chat |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Chat |
fromString(String name)
Creates or finds a Chat |
|
static
Collection<Chat |
values()
Gets known Chat |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DROP
public static final ChatCompletionExtraParametersBehavior DROP
Drops all extra parameters.
ERROR
public static final ChatCompletionExtraParametersBehavior ERROR
Raises an error if any extra parameter is present.
PASS_THROUGH
public static final ChatCompletionExtraParametersBehavior PASS_THROUGH
Passes any extra parameters directly to the model.
Constructor Details
ChatCompletionExtraParametersBehavior
@Deprecated
public ChatCompletionExtraParametersBehavior()
Deprecated
Creates a new instance of ChatCompletionExtraParametersBehavior value.
Method Details
fromString
public static ChatCompletionExtraParametersBehavior fromString(String name)
Creates or finds a ChatCompletionExtraParametersBehavior from its string representation.
Parameters:
Returns:
values
public static Collection<ChatCompletionExtraParametersBehavior> values()
Gets known ChatCompletionExtraParametersBehavior values.
Returns: