共用方式為


ImageBasedHostedAgentDefinition interface

託管代理程式的映像型部署定義。

Extends

屬性

image

託管代理程式的映像。

kind

代理定義的類型。

繼承的屬性

container_protocol_versions

代理程式支援容器輸入通訊的通訊協定。

cpu

託管代理程式的 CPU 組態。

environment_variables

要在託管代理程式容器中設定的環境變數。

memory

託管代理程式的記憶體組態。

rai_config

負責任 AI (RAI) 內容篩選和安全功能的設定。

tools

託管代理程式模型在產生回應時可能呼叫的一系列工具。 您可以藉由設定 tool_choice 參數來指定要使用的工具。

屬性詳細資料

image

託管代理程式的映像。

image: string

屬性值

string

kind

代理定義的類型。

kind: "hosted"

屬性值

"hosted"

繼承的屬性詳細資料

container_protocol_versions

代理程式支援容器輸入通訊的通訊協定。

container_protocol_versions: ProtocolVersionRecord[]

屬性值

繼承自HostedAgentDefinition.container_protocol_versions

cpu

託管代理程式的 CPU 組態。

cpu: string

屬性值

string

繼承自HostedAgentDefinition.cpu

environment_variables

要在託管代理程式容器中設定的環境變數。

environment_variables?: Record<string, string>

屬性值

Record<string, string>

繼承自HostedAgentDefinition.environment_variables

memory

託管代理程式的記憶體組態。

memory: string

屬性值

string

繼承自HostedAgentDefinition.memory

rai_config

負責任 AI (RAI) 內容篩選和安全功能的設定。

rai_config?: RaiConfig

屬性值

繼承自HostedAgentDefinition.rai_config

tools

託管代理程式模型在產生回應時可能呼叫的一系列工具。 您可以藉由設定 tool_choice 參數來指定要使用的工具。

tools?: ToolUnion[]

屬性值

繼承自HostedAgentDefinition.tools