Aller au contenu principal

Type alias: BaseNodeParams<T>

BaseNodeParams<T>: object

Type parameters

T extends Metadata = Metadata

Type declaration

embedding?

optional embedding: number[]

excludedEmbedMetadataKeys?

optional excludedEmbedMetadataKeys: string[]

excludedLlmMetadataKeys?

optional excludedLlmMetadataKeys: string[]

hash?

optional hash: string

id_?

optional id_: string

metadata?

optional metadata: T

relationships?

optional relationships: Partial<Record <NodeRelationship, RelatedNodeType<T>>>

Source

packages/core/src/Node.ts:40