アシスタントとのチャット
アプリでアシスタントと交わした会話。
アシスタントとのチャットのツール
| ツール | 機能 |
|---|---|
| listChats | アプリでアシスタントと交わしたチャットを新しい順に、タイトルと各チャットのメッセージ数とともに示す。query はタイトルを検索する。1 ページずつ返る。 |
| getChat | ID で指定した 1 件のチャット。 |
| renameChat | チャットに新しいタイトルを付ける。 |
| deleteChat | チャットとその中のすべてのメッセージを完全に削除する。アシスタントがメールボックスで行ったことは元に戻らない。 |
チャットに届くのはワークスペースのオーナーだけで、すべてのアドレスで接続したクライアントを使う。読み取りには threads:read、変更には threads:write が必要。
アプリのアシスタントはこれらのツールを持たないので、チャットが自分で名前を変えたり自分を削除したりすることはない。
リファレンス
listChats
The conversations held with the assistant in the OpenEmail app, as its Chats page lists them, newest first, each with its title, id and how many messages it holds. query searches the titles. Only the workspace owner reaches them. One page at a time: when more follow, the last line gives a cursor to pass back for the next page.
入力
querystring- 200文字まで
sortstring- 次のいずれか
"newest""oldest""title" limitinteger- 1以上100以下
cursorstring- 1〜2048文字
ほかの提供先
getChat
One chat with the assistant by its id: its title, how many messages it holds and when it last changed.
入力
idstring必須- 空でないこと
ほかの提供先
renameChat
Give a chat with the assistant a new title.
入力
idstring必須- 空でないこと
titlestring必須- 1〜120文字
ほかの提供先
deleteChat
Delete a chat with the assistant and every message in it, for good. Nothing it did in the mailbox is undone. Ask the person first.
入力
idstring必須- 空でないこと