Logo
Type aliases

TextNode

TextNode = object

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

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:7848

Unique ID of the node.


embedding?

optional embedding: number[] | null

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

Embedding of the node.


extra_info?

optional extra_info: object

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

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:7862

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:7866

Metadata keys that are excluded from text for the LLM.


relationships?

optional relationships: object

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

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:7876

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:7880

Separator between metadata fields when converting to string.


text?

optional text: string

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

Text content of the node.


mimetype?

optional mimetype: string

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

MIME type of the node content.


start_char_idx?

optional start_char_idx: number | null

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

Start char index of the node.


end_char_idx?

optional end_char_idx: number | null

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

End char index of the node.


text_template?

optional text_template: string

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

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:7901