MessageResponse

data class MessageResponse(val sessionId: String, val chatbot: String, val message: OpenAiCompatibleMessage, val history: List<OpenAiCompatibleMessage>, val events: List<GenerationEvent>) : InSession

Parameters

history

List of previous messages in the conversation

Constructors

Link copied to clipboard
constructor(sessionId: String, chatbot: String, message: OpenAiCompatibleMessage, history: List<OpenAiCompatibleMessage>, events: List<GenerationEvent>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val sessionId: String
Link copied to clipboard