ChatAnnotation

@Serializable
data class ChatAnnotation(val type: String, val url: String? = null, val title: String? = null, val startIndex: Int? = null, val endIndex: Int? = null, val text: String? = null)

Annotation for assistant message content.

Constructors

Link copied to clipboard
constructor(type: String, url: String? = null, title: String? = null, startIndex: Int? = null, endIndex: Int? = null, text: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "end_index")
val endIndex: Int? = null
Link copied to clipboard
@SerialName(value = "start_index")
val startIndex: Int? = null
Link copied to clipboard
@SerialName(value = "text")
val text: String? = null
Link copied to clipboard
@SerialName(value = "title")
val title: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String
Link copied to clipboard
@SerialName(value = "url")
val url: String? = null