Skip to content

Embed Document

Purpose of the Node

The Embed Document node takes a query string and a model, then embeds the document string using the specified model. The output includes the embedding vector or an error if the embedding fails.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiate ExecutionStructNormal
Query StringThe string to embedStringMap
ModelThe embedding modelStructArray
EndDone with the ExecutionStructNormal
VectorThe embedding vectorFloatSet
FailedFailed to embed the queryStructNormal