HostedAgentDefinition interface
The hosted agent definition.
- Extends
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. |
| kind | The kind of agent definition. |
| memory | The memory configuration for the hosted agent. |
| 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 |
Inherited Properties
| rai_config | Configuration for Responsible AI (RAI) content filtering and safety features. |
Property Details
container_protocol_versions
The protocols that the agent supports for ingress communication of the containers.
container_protocol_versions: ProtocolVersionRecord[]
Property Value
cpu
The CPU configuration for the hosted agent.
cpu: string
Property Value
string
environment_variables
Environment variables to set in the hosted agent container.
environment_variables?: Record<string, string>
Property Value
Record<string, string>
kind
The kind of agent definition.
kind: "hosted"
Property Value
"hosted"
memory
The memory configuration for the hosted agent.
memory: string
Property Value
string
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 Property Details
rai_config
Configuration for Responsible AI (RAI) content filtering and safety features.
rai_config?: RaiConfig
Property Value
Inherited From AgentDefinition.rai_config