本頁面說明可用來與 Gemini Enterprise Agent Platform 互動的介面,以及適用的時機。您可以搭配使用這些介面和 Agent Platform 的其中一個筆記本解決方案。
部分 Gemini Enterprise Agent Platform 作業只能透過特定介面執行,因此您可能需要在工作流程中切換介面。舉例來說,在 Vertex AI Experiments 中,您必須使用 API 將資料記錄到實驗執行作業,但可以在控制台中查看結果。
控制台
Google Cloud 控制台是圖形使用者介面,可用來處理機器學習資源。
您可以在 Google Cloud 控制台中管理代管資料集、模型、端點和工作。您也可以透過控制台存取其他 Google Cloud 服務,例如 Cloud Storage 和 BigQuery。
如果您偏好透過圖形使用者介面查看及管理 Gemini Enterprise 代理程式平台資源和視覺化內容,請使用 Google Cloud 控制台。
詳情請參閱 Gemini Enterprise Agent Platform 專區的「資訊主頁」頁面:
gcloud
Google Cloud 指令列介面 (CLI) 是一組工具,可使用 gcloud 指令建立及管理 Google Cloud 資源。
如要透過指令列或指令碼和其他自動化項目管理 Gemini Enterprise Agent Platform 資源,請使用 Google Cloud CLI。
詳情請參閱「安裝 gcloud CLI」和 gcloud ai 參考資料。
Terraform
Terraform 是一種基礎架構即程式碼 (IaC) 工具,可用於為多個Google Cloud 服務 (包括 Gemini Enterprise Agent Platform) 佈建基礎架構,例如資源和權限。
您可以在 Terraform 設定檔中,為專案定義 Gemini Enterprise Agent Platform 資源和權限。 Google Cloud然後,您可以使用 Terraform 將設定套用至專案,方法是建立新資源及更新現有資源。
如要將 Google Cloud 專案中 Gemini Enterprise Agent Platform 資源的基礎架構標準化,並在滿足資源依附元件的同時更新現有的 Google Cloud專案基礎架構,請使用 Terraform。
如要開始使用,請參閱 Gemini Enterprise Agent Platform 的 Terraform 支援。
Python
使用 Agent Platform SDK for Python,以程式輔助方式自動執行 Gemini Enterprise Agent Platform 工作流程。
Agent Platform SDK for Python 與 Gemini Enterprise Agent Platform Python 用戶端程式庫類似,但 SDK 的層級較高,精細程度較低。詳情請參閱「瞭解 SDK 和用戶端程式庫的差異」。
如要開始使用,請參閱「安裝 Agent Platform SDK」。
用戶端程式庫
用戶端程式庫會使用每種支援語言的自然慣例呼叫 Agent Platform API,並減少您必須編寫的樣板程式碼。
Gemini Enterprise Agent Platform 支援下列語言:
Python 安裝 Agent Platform SDK for Python 時,系統會一併安裝 Gemini Enterprise Agent Platform Python 用戶端程式庫。
Java
Node.js
C#
Go
REST
Gemini Enterprise Agent Platform REST API 提供符合 REST 樣式的服務,可管理工作、模型和端點,以及在 Google Cloud上使用託管模型進行推論。
如果您需要使用自己的程式庫,從應用程式呼叫 Agent Platform API,請使用 REST API。
如要開始使用,請參閱 Agent Platform API REST 參考資料。