Conversational Analytics API with Gemini

服務:geminidataanalytics.googleapis.com

如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果您的應用程式需要使用您自己的程式庫來呼叫這項服務,請在發出 API 要求時使用下列資訊。

探索文件

探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件會用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:

服務端點

服務端點是能指定 API 服務網路位址的基本網址。一項服務可能有多個服務端點。這項服務有下列服務端點,以及和該服務端點相關的所有 URI:

  • https://geminidataanalytics.googleapis.com

REST 資源:v1alpha.projects.locations

方法
chat POST /v1alpha/{parent=projects/*/locations/*}:chat
產生 Message 物件串流,以回答資料問題。

REST 資源:v1alpha.projects.locations.conversations

方法
create POST /v1alpha/{parent=projects/*/locations/*}/conversations
建立新對話,以保留對話記錄。
get GET /v1alpha/{name=projects/*/locations/*/conversations/*}
使用對話 ID 和父項,取得單一對話的詳細資料。
list GET /v1alpha/{parent=projects/*/locations/*}/conversations
列出指定父項的所有對話。

REST 資源:v1alpha.projects.locations.conversations.messages

方法
list GET /v1alpha/{parent=projects/*/locations/*/conversations/*}/messages
列出指定對話的所有訊息。

REST 資源:v1alpha.projects.locations.dataAgents

方法
create POST /v1alpha/{parent=projects/*/locations/*}/dataAgents
在指定的專案和位置中建立新的 DataAgent。
delete DELETE /v1alpha/{name=projects/*/locations/*/dataAgents/*}
刪除單一 DataAgent。
get GET /v1alpha/{name=projects/*/locations/*/dataAgents/*}
取得單一 DataAgent 的詳細資料。
list GET /v1alpha/{parent=projects/*/locations/*}/dataAgents
列出指定專案和位置中的 DataAgent。
patch PATCH /v1alpha/{dataAgent.name=projects/*/locations/*/dataAgents/*}
更新單一 DataAgent 的參數。