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
/
Content
/
Text
Text
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"text"
)
data
class
Text
(
val
text
:
String
,
val
cache_control
:
CacheControl
?
=
null
,
val
citations
:
List
<
Citation
>
?
=
null
)
:
Content
(
source
)
Members
Constructors
Text
Link copied to clipboard
constructor
(
text
:
String
,
cache_control
:
CacheControl
?
=
null
,
citations
:
List
<
Citation
>
?
=
null
)
Properties
cache_
control
Link copied to clipboard
val
cache_control
:
CacheControl
?
citations
Link copied to clipboard
val
citations
:
List
<
Citation
>
?
text
Link copied to clipboard
val
text
:
String