共用方式為


HostedAgentDefinition interface

託管代理程式定義。

Extends

屬性

container_protocol_versions

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

cpu

託管代理程式的 CPU 組態。

environment_variables

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

kind

代理定義的類型。

memory

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

tools

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

繼承的屬性

rai_config

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

屬性詳細資料

container_protocol_versions

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

container_protocol_versions: ProtocolVersionRecord[]

屬性值

cpu

託管代理程式的 CPU 組態。

cpu: string

屬性值

string

environment_variables

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

environment_variables?: Record<string, string>

屬性值

Record<string, string>

kind

代理定義的類型。

kind: "hosted"

屬性值

"hosted"

memory

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

memory: string

屬性值

string

tools

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

tools?: ToolUnion[]

屬性值

繼承的屬性詳細資料

rai_config

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

rai_config?: RaiConfig

屬性值

繼承自AgentDefinition.rai_config