A vector store retriever is a component or module that specializes in retrieving vectors from a vector store based on user queries. It works in conjunction with a vector store to facilitate efficient vector retrieval and similarity search operations.
Note on dissimilarity scores: Dissimilarity scores calculated using FAISS or Chroma with L2 distance are not bound to a specific range, therefore allowing only for ordinal comparison of scores. These scores also depend on the embeddings model used to generate the embeddings, as different models produce embeddings with varying scales and distributions. Therefore, understanding or comparing similarity across different models or spaces without contextual normalization is not meaningful.
Column containing the queries.
Number of top results to get from vector store search. Ranking from best to worst.
The name for the appended column containing the retrieved documents.
Whether or not to retrieve document metadata if provided.
Whether or not to retrieve dissimilarity scores for the retrieved documents. FAISS and Chroma use L2 distance by default to calculate dissimilarity scores. Lower score represents more similarity.
The name for the appended column containing the dissimilarity scores.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Python Extension Development (Labs) from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.