Document

@SerialName(value = "document")
data class Document(val source: DocumentSource) : AnthropicContent(source)

Represents a document that originates from a specified source. The document can have various source types, such as a URL, base64-encoded data, or plain text.

Constructors

Link copied to clipboard
constructor(source: DocumentSource)

Properties

Link copied to clipboard

The source object describing the origin and type of the document's content.