QueryPinecone 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-pinecone-nar

Description

Queries Pinecone for vectors that are similar to the input vector, or retrieves a vector by ID.

Tags

chatbot, gen ai, generative ai, llm, openflow, pinecone, query, similarity, vector

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
ID Record PathThe path to the ID field in the record
Include MetadataSpecifies whether to include metadata in the results
Include VectorsSpecifies whether to include vectors in the results
Number of ResultsThe number of results to return (i.e., Top K)
Pinecone API KeyThe API key for the Pinecone service
Pinecone IndexThe name of the Pinecone index to use
Pinecone NamespaceThe name of the Pinecone namespace to use
Query FilterA JSON representation of the query filter to use
Query StrategyThe strategy to use for querying Pinecone
Record ReaderThe Record Reader to use for reading the FlowFile
Record WriterThe Record Writer to use for writing the results
Results Record PathSpecifies where in the record to place the results.
Sparse Dense Vector WeightingRanges from 0.0 to 1.0. Weight to apply on dense and sparse vectors when doing an hybrid search. (1 - weight) will be applied to the values of the sparse vector and (weight) will be applied to the dense vector.
Sparse Vector Indices PathIf, Sparse Vectors are to be provided, this RecordPath points to the indices of the sparse data to use.
Sparse Vector Values PathIf, Sparse Vectors are to be provided, this RecordPath points to the values of the sparse data to use.
Vector Record PathThe path to the vector field in the record
Web Client ServiceThe Web Client Service to use for communicating with Pinecone

Relationships

NameDescription
failureFlowFiles that cannot be sent to Pinecone, and for which a retry is not expected to be successful, are routed to this relationship
retryFlowFiles that fail to be sent to Pinecone, but for which a retry may help, are routed to this relationship
successFlowFiles that are successfully sent to Pinecone are routed to this relationship

Use Cases Involving Other Components

Query Pinecone for vectors that are similar to some input text