toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.chat
/
UrlCitation
Url
Citation
@
Serializable
data
class
UrlCitation
(
val
url
:
String
,
val
title
:
String
,
val
startIndex
:
Int
,
val
endIndex
:
Int
)
Nested Chat URL citation.
Members
Constructors
Url
Citation
Link copied to clipboard
constructor
(
url
:
String
,
title
:
String
,
startIndex
:
Int
,
endIndex
:
Int
)
Properties
end
Index
Link copied to clipboard
@
SerialName
(
value
=
"end_index"
)
val
endIndex
:
Int
End of cited span.
start
Index
Link copied to clipboard
@
SerialName
(
value
=
"start_index"
)
val
startIndex
:
Int
First cited character.
title
Link copied to clipboard
val
title
:
String
Source title.
url
Link copied to clipboard
val
url
:
String
Cited URL.