Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-nodes / DocumentBlock

Class: DocumentBlock

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:235

Document content block for PDFs and text files

Extends

Constructors

Constructor

new DocumentBlock(): DocumentBlock

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:256

Returns

DocumentBlock

Overrides

ContentBlockBase.constructor

Properties

context?

optional context: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:254


index?

optional index: number

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:225

Inherited from

ContentBlockBase.index


source

source: DocumentSource

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:242


title?

optional title: string

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:248


type

type: string = ''

Defined in: packages/fireflow-nodes/src/nodes/ai/anthropic/types.ts:218

Inherited from

ContentBlockBase.type

Licensed under BUSL-1.1