In Memory Conversation
data class InMemoryConversation constructor(_messages: MutableList<Message> = mutableListOf(), val id: String = MobyNameGenerator.generateName(), persistent: Boolean = false) : Conversation
Constructors
Link copied to clipboard
constructor(_messages: MutableList<Message> = mutableListOf(), id: String = MobyNameGenerator.generateName(), persistent: Boolean = false)
Properties
Functions
Link copied to clipboard
Modify the state of this conversation This method is mutable, and returns itself only for convenience
Link copied to clipboard
Link copied to clipboard
Non-null if the conversation has messages and the last message is from the user.
Link copied to clipboard
Link copied to clipboard
open fun promptContributor(conversationFormatter: ConversationFormatter = WindowingConversationFormatter()): <Error class: unknown class>