Module chat_message_history (0.3.1)

Bigtable-based chat message history

Classes

BigtableChatMessageHistory

BigtableChatMessageHistory(
    instance_id: str,
    table_id: str,
    session_id: str,
    client: typing.Optional[google.cloud.bigtable.client.Client] = None,
)

Chat message history that stores history in Bigtable.

Modules Functions

init_chat_history_table

init_chat_history_table(
    instance_id: str,
    table_id: str,
    client: typing.Optional[google.cloud.bigtable.client.Client] = None,
) -> None

Create a table to store chat history.