Skip to content

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

Class: ImageSource

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

Image source configuration for image content blocks

Constructors

Constructor

new ImageSource(): ImageSource

Returns

ImageSource

Properties

data

data: string = ''

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


media_type

media_type: string = 'image/jpeg'

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


type

type: string = 'base64'

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


url?

optional url: string

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

Licensed under BUSL-1.1