Production use of this feature is available for specific editions only. Contact our sales team for more information.
Use case
Typical use cases for a vector search include the following:- Performing a semantic text search to return the most contextually relevant documents, even if they don’t share exact keywords.
- Personalizing content retrieval by matching users to relevant content based on their interests or behavior embeddings.
- Powering support systems by finding the closest pre-written response or FAQ entry for a customer’s question.
Properties
string
required
A human-readable name for the component.
drop-down
required
The table that contains the data to be searched.
drop-down
required
The table that contains the questions you want to have answered.
drop-down
required
The measurement of similarity between vectors is performed by a Snowflake Cortex vector similarity function. Choose which of the three supported functions the search will use:
- Cosine Similarity
- L2 Distance
- Inner Product
drop-down
required
You can choose to output the results of the search as table Columns or JSON objects.
drop-down
required
Select the column of the Index Table that contains the embeddings you want to query. The component operates on a single input column only. If you have multiple embedding columns in the table, you’ll need to perform additional transformations on your data to reduce them to a single column before querying.Additional non-embedding columns (i.e. not only the column selected here) will also be retrieved from the index table and displayed in the output.
drop-down
required
Select the column of the Query Table that contains the question embeddings. The component operates on a single input column only. If you have multiple embedding columns in the table, you’ll need to perform additional transformations on your data to reduce them to a single column before querying.Additional non-embedding columns (i.e. not only the column selected here) will also be retrieved from the query table and displayed in the output.
drop-down
required
Select the column that functions as the query table’s primary key.
string
required
The number of results to return from the vector database query. Between 1-100. The default is 5, which will return the top five best-fitting answers to the query.
