Query

data class Query(val value: String) : InquiryContent

Single text query for AI-generated answer.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this InquiryContent as a Query and retrieves its kotlin.String value. Throws an exception if the InquiryContent is not a Query.

Link copied to clipboard

Casts this InquiryContent as a Query and retrieves its kotlin.String value. Returns null if the InquiryContent is not a Query.