總覽

Gemini Enterprise 的 Google Chat 連接器可讓您使用自然語言指令,搜尋 Google Chat 資料及執行動作。

支援的動作

啟用 Google Chat 資料儲存庫後,使用者可在 Gemini Enterprise 中使用自然語言指令執行下列操作。

動作 說明
傳送訊息 傳送 Google Chat 即時通訊訊息至對話。
傳送訊息 (Markdown) 將 Google Chat 即時通訊訊息傳送至採用 Markdown 格式的對話。
列出訊息 從指定的 Google Chat 對話 (聊天室、即時訊息或群組即時訊息) 擷取訊息。
列出訊息 (Markdown) 以 Markdown 格式擷取指定 Google Chat 對話中的訊息。
搜尋訊息 使用關鍵字和篩選條件搜尋 Google Chat 即時通訊訊息。適用於使用者有權存取的所有聊天室,也可以限定在特定對話中。
搜尋對話 依顯示名稱搜尋 Google Chat 對話。
建立對話 建立 Google Chat 對話 (具名聊天室、即時訊息或群組即時訊息)。
新增回應 在 Google Chat 即時通訊訊息中新增回應。
移除回應 移除 Google Chat 即時通訊訊息的回應。
新增成員 將成員新增至 Google Chat 對話。
移除成員 從 Google Chat 對話中移除使用者成員。
更新成員 更新 Google Chat 對話中的使用者成員資格。
列出成員 列出 Google Chat 對話中的成員。

所需權限

Google管理的 OAuth 應用程式會要求下列 OAuth 範圍。使用者授權連接器時,會授予下列範圍:

範圍 目的
https://www.googleapis.com/auth/chat.spaces.readonly 列出及搜尋 Google Chat 對話。
https://www.googleapis.com/auth/chat.messages.readonly 讀取及搜尋 Google Chat 即時通訊訊息。
https://www.googleapis.com/auth/chat.memberships.readonly 列出 Google Chat 對話中的成員。
https://www.googleapis.com/auth/chat.users.readstate.readonly 讀取使用者對 Google Chat 即時通訊訊息的已讀狀態。
https://www.googleapis.com/auth/chat.messages.create 傳送 Google Chat 訊息。
https://www.googleapis.com/auth/chat.spaces.create 建立 Google Chat 對話。
https://www.googleapis.com/auth/chat.memberships 在 Google Chat 對話中新增、移除及更新成員。
https://www.googleapis.com/auth/chat.messages.reactions.create 對 Google Chat 即時通訊訊息新增回應。
https://www.googleapis.com/auth/chat.messages.reactions 移除 Google Chat 即時通訊訊息的回應。

限制

  • Google Chat 資料儲存庫僅支援 global、us 和 eu 位置。

  • 建立新應用程式或將資料儲存庫新增至現有應用程式時,建議只將一個資料儲存庫與屬於單一連接器類型的動作建立關聯。

後續步驟