Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-nodes / TextBlock

Class: TextBlock ​

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:109

Text content block

Extends ​

Constructors ​

Constructor ​

new TextBlock(): TextBlock

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:120

Returns ​

TextBlock

Overrides ​

ContentBlockBase.constructor

Properties ​

index? ​

optional index: number

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:99

Inherited from ​

ContentBlockBase.index


text ​

text: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:118


type ​

type: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:92

Inherited from ​

ContentBlockBase.type

Licensed under BUSL-1.1