ChatMessage
プロパティ
| プロパティ | 型 | 説明 | |
|---|---|---|---|
ai_chat_messages_id
| string (snowflake) | 必須 | |
ai_chat_messages_role
| one of: 1, 2, 3 | 必須 | |
ai_chat_messages_content
| string | 必須 | The first message; without one the chat starts empty. |
ai_chat_messages_reasoning
| string | 必須 | The model's thinking before its reply; empty when it shows none. |
writing
| boolean | 必須 | Whether the reply is still being written. |
ai_chat_messages_error
| string, or null | 必須 | Why a reply ended early: it failed, or was stopped. |
ai_chat_messages_created_at
| integer (int64) | 必須 | Unix seconds. |
内部で使用