chat.gel.assistant.message

One message in a chat, from the user or the assistant. A reply's key is the user message's key plus '.r' and the attempt number, such as '.r0' or '.r1'. The app creates the reply with status 'pending' and no content, it fills it in when generation ends. Creating fails if the key is taken, so each attempt gets exactly one reply. Sort replies by attempt number rather than by key, since '.r10' sorts before '.r2'.

Repository @gel.chat did:plc:k2csuyvih44bjf2lex73x56v namespace authority
Details · record, key any
Kindrecord
Record keyany
Authorityassistant.gel.chat
Indexed

Record

record · key any

Properties

createdAt

requiredstring · datetime

The reasoning effort (assistant message).

error

string
  • maxLength: 3000

On a user message, asks the assistant to reply. The app only answers messages written by the chat's owner, and only recent ones: an old unanswered message found during a resync is left alone.

The model that generated the response (assistant message).

parent

string · record-key

The key of the previous message. Siblings are edits or regenerations.

role

requiredstring
  • knownValues: user | assistant

status

string

Generation completion status (assistant message).

  • knownValues: pending | complete | error | cancelled

Similar lexicons

semantic match

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