CreateOllamaEmbeddings 2025.3.28.13-SNAPSHOT¶
BUNDLE¶
com.snowflake.openflow.runtime | runtime-ollama-nar
DESCRIPTION¶
Uses Ollama to create embeddings for text. The input text can be provided as a single FlowFile or as a record-oriented FlowFile.
INPUT REQUIREMENT¶
Supports Sensitive Dynamic Properties¶
false
PROPERTIES¶
Property |
Description |
---|---|
Embeddings Model |
The model to use for embeddings |
Embeddings Record Path |
The path to the field in the record where the embeddings are to be written. |
Record Reader |
The record reader to use for reading record-oriented data. If the incoming data is to be treated as plaintext, this property should be left unset. |
Record Writer |
The Record Writer to use for writing the output |
Service URL |
The URL to use to communicate with Ollama |
Text Record Path |
The path to the field in the record that contains the text to be embedded. If the incoming data is to be treated as plaintext, this property should be left unset. |
Web Client Service |
The Web Client Service to use for communicating with Ollama |
RELATIONSHIPS¶
NAME |
DESCRIPTION |
---|---|
failure |
The original FlowFile will be routed to this relationship if the embeddings could not be created |
success |
The embeddings will be routed to this relationship |
WRITES ATTRIBUTES¶
NAME |
DESCRIPTION |
---|---|
record.count |
The number of records written to the output |
mime.type |
The MIME type of the output data, based on the chosen Record Writer |
USE CASES¶
Create embeddings for text using Ollama’s Embeddings |