TextNode
TextNode =
object
Defined in: packages/cloud/src/client/types.gen.ts:7387
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:7391
Unique ID of the node.
embedding?
optional
embedding:number
[] |null
Defined in: packages/cloud/src/client/types.gen.ts:7395
Embedding of the node.
extra_info?
optional
extra_info:object
Defined in: packages/cloud/src/client/types.gen.ts:7399
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:7405
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:7409
Metadata keys that are excluded from text for the LLM.
relationships?
optional
relationships:object
Defined in: packages/cloud/src/client/types.gen.ts:7413
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:7419
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:7423
Separator between metadata fields when converting to string.
text?
optional
text:string
Defined in: packages/cloud/src/client/types.gen.ts:7427
Text content of the node.
mimetype?
optional
mimetype:string
Defined in: packages/cloud/src/client/types.gen.ts:7431
MIME type of the node content.
start_char_idx?
optional
start_char_idx:number
|null
Defined in: packages/cloud/src/client/types.gen.ts:7435
Start char index of the node.
end_char_idx?
optional
end_char_idx:number
|null
Defined in: packages/cloud/src/client/types.gen.ts:7439
End char index of the node.
text_template?
optional
text_template:string
Defined in: packages/cloud/src/client/types.gen.ts:7443
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:7444