AxAIAnthropicDocumentBlock Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAIAnthropicDocumentBlock.md type AxAIAnthropicDocumentBlock

AxAIAnthropicDocumentBlock

TypeScript
type AxAIAnthropicDocumentBlock = AxAIAnthropicChatRequestCacheParam & object;

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/ai/anthropic/types.ts#L163

Type Declaration

NameType
citations?{ enabled: boolean; }
context?string
source| { data: string; media_type: "text/plain"; type: "text"; } | { data: string; media_type: "application/pdf"; type: "base64"; } | { type: "url"; url: string; } | { file_id: string; type: "file"; } | { content: object[]; type: "content"; }
title?string
type"document"
Docs