struct

Anthropic::TextContentWithCitations

Inherits JSON::Serializable < Struct < Value < Object

Text content with citation support

Constructors

new(text : String, citations : Array(CitationRef) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

citations
Source
text
Source
type
Source