HostedAgentDefinition interface
託管代理程式定義。
- Extends
屬性
| container_protocol_versions | 代理程式支援容器輸入通訊的通訊協定。 |
| cpu | 託管代理程式的 CPU 組態。 |
| environment_variables | 要在託管代理程式容器中設定的環境變數。 |
| kind | 代理定義的類型。 |
| memory | 託管代理程式的記憶體組態。 |
| tools | 託管代理程式模型在產生回應時可能呼叫的一系列工具。 您可以藉由設定 |
繼承的屬性
| rai_config | 負責任 AI (RAI) 內容篩選和安全功能的設定。 |
屬性詳細資料
container_protocol_versions
cpu
託管代理程式的 CPU 組態。
cpu: string
屬性值
string
environment_variables
要在託管代理程式容器中設定的環境變數。
environment_variables?: Record<string, string>
屬性值
Record<string, string>
kind
代理定義的類型。
kind: "hosted"
屬性值
"hosted"
memory
託管代理程式的記憶體組態。
memory: string
屬性值
string