AzureCreateResponseOptions Class
- java.
lang. Object - com.
azure. ai. agents. models. AzureCreateResponseOptions
- com.
Implements
public final class AzureCreateResponseOptions
implements JsonSerializable<AzureCreateResponseOptions>
Azure specific fields used in the creation of "Response" object (i.e. "AgentReference").
Constructor Summary
| Constructor | Description |
|---|---|
| AzureCreateResponseOptions() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Agent |
getAgentReference()
Get the agent |
|
Routing |
getRoutingConfig()
Get the routing |
|
Map<String,Binary |
getStructuredInputs()
Get the structured |
|
Azure |
getUserSecurityContext()
Get the user |
|
Azure |
setAgentReference(AgentReference agentReference)
Set the agent |
|
Azure |
setRoutingConfig(RoutingConfiguration routingConfig)
Set the routing |
|
Azure |
setStructuredInputs(Map<String,BinaryData> structuredInputs)
Set the structured |
|
Azure |
setUserSecurityContext(AzureUserSecurityContext userSecurityContext)
Set the user |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AzureCreateResponseOptions
public AzureCreateResponseOptions()
Creates an instance of AzureCreateResponseOptions class.
Method Details
fromJson
public static AzureCreateResponseOptions fromJson(JsonReader jsonReader)
Reads an instance of AzureCreateResponseOptions from the JsonReader.
Parameters:
Returns:
Throws:
getAgentReference
public AgentReference getAgentReference()
Get the agentReference property: The agent to use for generating the response.
Returns:
getRoutingConfig
public RoutingConfiguration getRoutingConfig()
Get the routingConfig property: Per-request configuration for Model Router inference calls. Supported on Model Router endpoints (deployed or instant if supported). Returns a 400 (Bad Request) error when the target is not a Model Router endpoint.
Returns:
getStructuredInputs
public Map<String,BinaryData> getStructuredInputs()
Get the structuredInputs property: The structured inputs to the response that can participate in prompt template substitution or tool argument bindings.
Returns:
getUserSecurityContext
public AzureUserSecurityContext getUserSecurityContext()
Get the userSecurityContext property: User security context contains several parameters that describe the application itself, and the end user that interacts with the application. These fields assist your security operations teams to investigate and mitigate security incidents by providing a comprehensive approach to protecting your AI applications. [Learn more](https://aka.ms/TP4AI/Documentation/EndUserContext) about protecting AI applications using Microsoft Defender for Cloud.
Returns:
setAgentReference
public AzureCreateResponseOptions setAgentReference(AgentReference agentReference)
Set the agentReference property: The agent to use for generating the response.
Parameters:
Returns:
setRoutingConfig
public AzureCreateResponseOptions setRoutingConfig(RoutingConfiguration routingConfig)
Set the routingConfig property: Per-request configuration for Model Router inference calls. Supported on Model Router endpoints (deployed or instant if supported). Returns a 400 (Bad Request) error when the target is not a Model Router endpoint.
Parameters:
Returns:
setStructuredInputs
public AzureCreateResponseOptions setStructuredInputs(Map<String,BinaryData> structuredInputs)
Set the structuredInputs property: The structured inputs to the response that can participate in prompt template substitution or tool argument bindings.
Parameters:
Returns:
setUserSecurityContext
public AzureCreateResponseOptions setUserSecurityContext(AzureUserSecurityContext userSecurityContext)
Set the userSecurityContext property: User security context contains several parameters that describe the application itself, and the end user that interacts with the application. These fields assist your security operations teams to investigate and mitigate security incidents by providing a comprehensive approach to protecting your AI applications. [Learn more](https://aka.ms/TP4AI/Documentation/EndUserContext) about protecting AI applications using Microsoft Defender for Cloud.
Parameters:
Returns: