Message
Version: v1.1.0
Stored entity
Partition key pk, sort key sk • discriminator type = "MESSAGE"
Overview
Message model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pk | str | ✅ | — | — |
sk | str | ✅ | — | — |
updated_at | str | ✅ | — | — |
created_at | str | ✅ | — | — |
tenant_id | str | ✅ | — | — |
user_id | str | ✅ | — | — |
message | str | ✅ | — | — |
message_id | str | ✅ | — | — |
role | str | ✅ | — | — |
type | str | ❌ | MESSAGE | — |
meta_data | dict | ❌ | {} | — |
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | POST /newassistant/chat | — | src/assistant_chat.py |
| Stream | DynamoDB stream | table items where type is one of MESSAGE, THREAD | src/history/assistant_history_process.py |
| API | GET /newassistant/chat/history | — | src/history/assistant_history_get.py |
Change history
v1.1.0 · 2026-06-04 · Cian (shared account) · ecd3eef3b
Add Assistant smoke tests and history support
- Added optional field
meta_data.
v1.0.0 · 2025-05-09 · Cian (shared account) · 3a7865c16
fx
- Initial version.
Generated from
dismantly-backend/Microservices/Assistant/dependencies/models.py. Do not edit by hand.