Completion Response
@Serializable
Response from an AI Assistant completion request.
Constructors
Link copied to clipboard
constructor(requestId: String = UUID.randomUUID().toString(), sender: String = "", documents: List<Document> = emptyList(), timestamp: Long = 0, index: Int = 0, content: String? = null, end: Boolean = true, suggestions: List<Suggestion>? = null, additionalContext: AdditionalContext? = null, links: List<Link> = emptyList(), state: AiAssistantEvents = AiAssistantEvents.Loading)
Properties
Link copied to clipboard
Optional additional context information.
Link copied to clipboard
Returns the quoted context text when suggestions are present, or null otherwise.
Link copied to clipboard
The current state of the AI Assistant event.
Link copied to clipboard
Optional list of suggested follow-up actions.