http4k
Toggle table of contents
6.60.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-ai-anthropic
/
org.http4k.connect.anthropic.action
/
Citation
/
CharLocation
Char
Location
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"char_location"
)
data
class
CharLocation
(
val
cited_text
:
String
,
val
document_index
:
Int
,
val
start_char_index
:
Int
,
val
end_char_index
:
Int
,
val
document_title
:
String
?
=
null
,
val
file_id
:
FileId
?
=
null
)
:
Citation
(
source
)
Members
Constructors
Char
Location
Link copied to clipboard
constructor
(
cited_text
:
String
,
document_index
:
Int
,
start_char_index
:
Int
,
end_char_index
:
Int
,
document_title
:
String
?
=
null
,
file_id
:
FileId
?
=
null
)
Properties
cited_
text
Link copied to clipboard
val
cited_text
:
String
document_
index
Link copied to clipboard
val
document_index
:
Int
document_
title
Link copied to clipboard
val
document_title
:
String
?
end_
char_
index
Link copied to clipboard
val
end_char_index
:
Int
file_
id
Link copied to clipboard
val
file_id
:
FileId
?
start_
char_
index
Link copied to clipboard
val
start_char_index
:
Int