com.suibari.nagi.generatePostAssist

投稿を書いている本人へ、書きかけの具体的な良さを肯定するか、未入力・削除時に発想を促すひとことを生成する。書きかけの本文は生成にだけ使い、保存しない。

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · procedure
Kindprocedure
Authoritynagi.suibari.com
Indexed

Showing version bafyreignmphum7h7z2nk3yuxzi3jm4uupzaorca4ndnmc3q5fw2jx5omym. Show the latest

Procedure

procedure · POST

Input

application/json

lang

requiredstring
  • knownValues: ja | en

mode

string

affirm は書きかけの具体的な良さを肯定、question は発想を促す問いかけ。クライアントは IME 変換を除く実際の削除時に question、その後の追記で affirm へ戻す。未指定なら本文ありは affirm。空白のみ・空文字は常に question。

  • knownValues: affirm | question

同じ書きかけの間にすでに出したひとこと。繰り返さないために渡す。

  • maxLength: 5
itemsstring
  • maxLength: 2000
  • maxGraphemes: 200

text

requiredstring

書きかけの本文。空文字なら書き始める前の声かけになる。

  • maxLength: 30000
  • maxGraphemes: 3000

today

requiredstring

本人の端末のローカル日付 YYYY-MM-DD。日記の「同じ日付」を探すのに使う。

Output

application/json

message

requiredstring
  • maxGraphemes: 200

Errors

AuthRequired

No description in schema.

InvalidRequest

No description in schema.

RateLimited

No description in schema.

UpstreamUnavailable

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 3行日記の「botたんに相談」。本人の指定期間(日記の日付の0時から今まで)の Nagi 投稿から、空いている行に入れる候補を生成する。入力済みの行は生成の手がかりにだけ使い、保存しない。