ChatHistoryProvider

Provider interface for storing and loading conversation history.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun load(conversationId: String): List<Message>

Load previously stored conversation history.

Link copied to clipboard
abstract suspend fun store(conversationId: String, messages: List<Message>)

Store a list of messages as conversation history.