| Name | Type | Description |
|---|---|---|
session_id* | str | arbitrary key that is used to store the messages of a single chat session. |
session | Optional[Session] | Default: NoneCassandra driver session. If not provided, it is resolved from cassio. |
keyspace | Optional[str] | Default: None |
table_name | str | Default: DEFAULT_TABLE_NAME |
ttl_seconds | Optional[int] | Default: DEFAULT_TTL_SECONDS |
setup_mode | SetupMode | Default: SetupMode.SYNC |
Chat message history that is backed by Cassandra.
Cassandra key space. If not provided, it is resolved from cassio.
name of the table to use.
time-to-live (seconds) for automatic expiration of stored entries. None (default) for no expiration.
mode used to create the Cassandra table (SYNC, ASYNC or OFF).