Claudex.ContentBlock.Text (Claudex v0.6.1)

Copy Markdown View Source

A block of text Claude generated, with any citations it attached.

Summary

Functions

Turns the block back into the map the API expects in a request.

Types

t()

@type t() :: %Claudex.ContentBlock.Text{citations: [map()], text: String.t()}

Functions

to_param(block)

@spec to_param(t()) :: map()

Turns the block back into the map the API expects in a request.