toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.chat
/
ChatAnnotation
Chat
Annotation
@
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.
Members
Constructors
Chat
Annotation
Link copied to clipboard
constructor
(
type
:
String
,
url
:
String
?
=
null
,
title
:
String
?
=
null
,
startIndex
:
Int
?
=
null
,
endIndex
:
Int
?
=
null
,
text
:
String
?
=
null
)
Properties
end
Index
Link copied to clipboard
@
SerialName
(
value
=
"end_index"
)
val
endIndex
:
Int
?
=
null
start
Index
Link copied to clipboard
@
SerialName
(
value
=
"start_index"
)
val
startIndex
:
Int
?
=
null
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
val
text
:
String
?
=
null
title
Link copied to clipboard
@
SerialName
(
value
=
"title"
)
val
title
:
String
?
=
null
type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
val
type
:
String
url
Link copied to clipboard
@
SerialName
(
value
=
"url"
)
val
url
:
String
?
=
null