Share via


ImageBasedHostedAgentDefinition interface

The image-based deployment definition for a hosted agent.

Extends

Properties

image

The image for the hosted agent.

kind

The kind of agent definition.

Inherited Properties

container_protocol_versions

The protocols that the agent supports for ingress communication of the containers.

cpu

The CPU configuration for the hosted agent.

environment_variables

Environment variables to set in the hosted agent container.

memory

The memory configuration for the hosted agent.

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

tools

An array of tools the hosted agent's model may call while generating a response. You can specify which tool to use by setting the tool_choice parameter.

Property Details

image

The image for the hosted agent.

image: string

Property Value

string

kind

The kind of agent definition.

kind: "hosted"

Property Value

"hosted"

Inherited Property Details

container_protocol_versions

The protocols that the agent supports for ingress communication of the containers.

container_protocol_versions: ProtocolVersionRecord[]

Property Value

Inherited From HostedAgentDefinition.container_protocol_versions

cpu

The CPU configuration for the hosted agent.

cpu: string

Property Value

string

Inherited From HostedAgentDefinition.cpu

environment_variables

Environment variables to set in the hosted agent container.

environment_variables?: Record<string, string>

Property Value

Record<string, string>

Inherited From HostedAgentDefinition.environment_variables

memory

The memory configuration for the hosted agent.

memory: string

Property Value

string

Inherited From HostedAgentDefinition.memory

rai_config

Configuration for Responsible AI (RAI) content filtering and safety features.

rai_config?: RaiConfig

Property Value

Inherited From HostedAgentDefinition.rai_config

tools

An array of tools the hosted agent's model may call while generating a response. You can specify which tool to use by setting the tool_choice parameter.

tools?: ToolUnion[]

Property Value

Inherited From HostedAgentDefinition.tools