Logo
Type aliases

TextNode

TextNode = object

Defined in: packages/cloud/src/client/types.gen.ts:5819

Provided for backward compatibility.

Note: we keep the field with the typo "seperator" to maintain backward compatibility for serialized objects.

Properties

id_?

optional id_: string

Defined in: packages/cloud/src/client/types.gen.ts:5823

Unique ID of the node.


embedding?

optional embedding: number[] | null

Defined in: packages/cloud/src/client/types.gen.ts:5827

Embedding of the node.


extra_info?

optional extra_info: object

Defined in: packages/cloud/src/client/types.gen.ts:5831

A flat dictionary of metadata fields

Index Signature

[key: string]: unknown


excluded_embed_metadata_keys?

optional excluded_embed_metadata_keys: string[]

Defined in: packages/cloud/src/client/types.gen.ts:5837

Metadata keys that are excluded from text for the embed model.


excluded_llm_metadata_keys?

optional excluded_llm_metadata_keys: string[]

Defined in: packages/cloud/src/client/types.gen.ts:5841

Metadata keys that are excluded from text for the LLM.


relationships?

optional relationships: object

Defined in: packages/cloud/src/client/types.gen.ts:5845

A mapping of relationships to other node information.

Index Signature

[key: string]: RelatedNodeInfo | RelatedNodeInfo[]


metadata_template?

optional metadata_template: string

Defined in: packages/cloud/src/client/types.gen.ts:5851

Template for how metadata is formatted, with {key} and {value} placeholders.


metadata_seperator?

optional metadata_seperator: string

Defined in: packages/cloud/src/client/types.gen.ts:5855

Separator between metadata fields when converting to string.


text?

optional text: string

Defined in: packages/cloud/src/client/types.gen.ts:5859

Text content of the node.


mimetype?

optional mimetype: string

Defined in: packages/cloud/src/client/types.gen.ts:5863

MIME type of the node content.


start_char_idx?

optional start_char_idx: number | null

Defined in: packages/cloud/src/client/types.gen.ts:5867

Start char index of the node.


end_char_idx?

optional end_char_idx: number | null

Defined in: packages/cloud/src/client/types.gen.ts:5871

End char index of the node.


text_template?

optional text_template: string

Defined in: packages/cloud/src/client/types.gen.ts:5875

Template for how text is formatted, with {content} and {metadata_str} placeholders.


class_name?

optional class_name: string

Defined in: packages/cloud/src/client/types.gen.ts:5876

On this page