Database record for a message.
More...
#include <entropic/storage/records.h>
|
| std::string | id |
| | UUID primary key.
|
| |
| std::string | conversation_id |
| | Parent conversation FK.
|
| |
| std::string | role |
| | "user", "assistant", "system", "tool"
|
| |
| std::string | content |
| | Message text.
|
| |
| std::string | tool_calls = "[]" |
| | JSON array of tool calls.
|
| |
| std::string | tool_results = "[]" |
| | JSON array of tool results.
|
| |
| int64_t | token_count = 0 |
| | Estimated token count.
|
| |
| std::string | created_at |
| | ISO 8601 timestamp.
|
| |
| bool | is_compacted = false |
| | Whether this message survived compaction.
|
| |
| std::optional< std::string > | identity_tier |
| | Tier that produced this message.
|
| |
Database record for a message.
- Version
- 1.8.8
Definition at line 39 of file records.h.
◆ content
| std::string entropic::MessageRecord::content |
◆ conversation_id
| std::string entropic::MessageRecord::conversation_id |
Parent conversation FK.
Definition at line 41 of file records.h.
◆ created_at
| std::string entropic::MessageRecord::created_at |
ISO 8601 timestamp.
Definition at line 47 of file records.h.
◆ id
| std::string entropic::MessageRecord::id |
UUID primary key.
Definition at line 40 of file records.h.
◆ identity_tier
| std::optional<std::string> entropic::MessageRecord::identity_tier |
Tier that produced this message.
Definition at line 49 of file records.h.
◆ is_compacted
| bool entropic::MessageRecord::is_compacted = false |
Whether this message survived compaction.
Definition at line 48 of file records.h.
◆ role
| std::string entropic::MessageRecord::role |
"user", "assistant", "system", "tool"
Definition at line 42 of file records.h.
◆ token_count
| int64_t entropic::MessageRecord::token_count = 0 |
Estimated token count.
Definition at line 46 of file records.h.
◆ tool_calls
| std::string entropic::MessageRecord::tool_calls = "[]" |
JSON array of tool calls.
Definition at line 44 of file records.h.
◆ tool_results
| std::string entropic::MessageRecord::tool_results = "[]" |
JSON array of tool results.
Definition at line 45 of file records.h.
The documentation for this struct was generated from the following file: