RaiInvocationResponseMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. RaiInvocationResponseMode
- com.
- com.
public final class RaiInvocationResponseMode
extends ExpandableStringEnum<RaiInvocationResponseMode>
Author-declared response shape for the invocations protocol.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rai |
BOTH
Both non-streaming and streaming response bodies. |
|
static final
Rai |
NON_STREAMING
Non-streaming response body. |
|
static final
Rai |
STREAMING
Streaming response body. |
Constructor Summary
| Constructor | Description |
|---|---|
| RaiInvocationResponseMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rai |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rai |
fromString(String name)
Creates or finds a Rai |
|
static
Collection<Rai |
values()
Gets known Rai |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BOTH
public static final RaiInvocationResponseMode BOTH
Both non-streaming and streaming response bodies.
NON_STREAMING
public static final RaiInvocationResponseMode NON_STREAMING
Non-streaming response body.
STREAMING
public static final RaiInvocationResponseMode STREAMING
Streaming response body.
Constructor Details
RaiInvocationResponseMode
@Deprecated
public RaiInvocationResponseMode()
Deprecated
Creates a new instance of RaiInvocationResponseMode value.
Method Details
fromString
public static RaiInvocationResponseMode fromString(String name)
Creates or finds a RaiInvocationResponseMode from its string representation.
Parameters:
Returns:
values
public static Collection<RaiInvocationResponseMode> values()
Gets known RaiInvocationResponseMode values.
Returns: