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
/
DocumentSource
/
Text
Text
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"text"
)
data
class
Text
(
val
data
:
String
,
val
media_type
:
MimeType
)
:
DocumentSource
(
source
)
Members
Constructors
Text
Link copied to clipboard
constructor
(
data
:
String
,
media_type
:
MimeType
)
Properties
data
Link copied to clipboard
val
data
:
String
media_
type
Link copied to clipboard
val
media_type
:
MimeType