Production use of this feature is available for specific editions only. Contact our sales team for more information.
Video example
Properties
A human-readable name for the component.
The Snowflake database. The special value
[Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.The Snowflake schema. The special value
[Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.The Snowflake table that holds your source data.
Set a column as the primary key.
Set the column from which to load query search strings. The Pinecone Vector Query component will run these query search strings against your Pinecone index and retrieve the raw data that most closely matches each query search string.
Set a limit for the number of rows from the table to load. The default is 1000.
The embedding provider is the API service used to convert the search term into a vector. Choose either OpenAI or Amazon Bedrock. The embedding provider receives a search term (e.g. “How do I log in?”) and returns a vector.Choose your provider:
- OpenAI
- Amazon Bedrock
Use the drop-down menu to select the corresponding secret definition that denotes the value of your OpenAI API key.Read Secrets and secret definitions to learn how to create a new secret definition.To create a new OpenAI API key:
- Log in to OpenAI.
- Click your avatar in the top-right of the UI.
- Click View API keys.
- Click + Create new secret key.
- Give a name for your new secret key and click Create secret key.
- Copy your new secret key and save it. Then click Done.
Select an embedding model.Currently supports:
- text-embedding-ada-002
- text-embedding-3-small
- text-embedding-3-large
Set the size of array of data per API call. The default size is 10. When set to 10, 1000 rows would therefore require 100 API calls.You may wish to reduce this number if a row contains a high volume of data; and conversely, increase this number for rows with low data volume.
Use the drop-down menu to select the corresponding secret definition that denotes the value of your Pinecone API key.Read Secrets and secret definitions to learn how to create a new secret definition.
The name of the Pinecone vector search index to connect to. The list is generated once you pass a valid Pinecone API key.
The name of the Pinecone namespace. Pinecone lets you partition records in an index into namespaces. To retrieve a namespace name:
- Log in to Pinecone.
- Click PROJECTS in the left sidebar.
- Click a project tile. This action will open the list of vector search indexes in your project.
- Click on your vector search index tile.
- Click the NAMESPACES tab. Your namespaces will be listed.
The number of results to return from the vector database query. Between 1-100. Default is 3.
Select the data lookup strategy. Pinecone only stores the vector associated with text data, and a JSON metadata blob. While the text data can be stored in the metadata blob, size limitations can affect coverage—for example when a user has a larger blob of text to be converted to a vector.
- Raw data in metadata: Choosing this option adds an additional property, Data Path, to provide the path to text data within the metadata JSON blob.
- Table details in metadata: Database, schema, table, key column, key, and data column key:value pairs are used in the metadata to look up the text data in your warehouse table. If you have upserted data using Pinecone Vector Upsert then the below defaults reflect metadata automatically set via the Pinecone Vector Upsert component.
- Log in to Pinecone.
- Click PROJECTS in the left sidebar.
- Click a project tile. This action will open the list of vector search indexes in your project.
- Click on your vector search index tile.
- While in the BROWSER tab, observe the metadata for a relevant record.
The value of your database path. By default this is
mtln_database.The value of your schema path. By default this is
mtln_schema.The value of your table path. By default this is
mtln_table.The value of your key column path. By default this is
mtln_keyColumn.The value of your key path. By default this is
mtln_key.The value of your data column path. By default this is
mtln_dataColumn.Set the path to the data in the metadata JSON blob.Default is
data.The Snowflake destination database. The special value
[Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.The Snowflake destination schema. The special value
[Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.The new Snowflake table to load your prompt output into. Will create a new table if one does not exist. Otherwise, will replace any existing table of the same name.This component uses the CREATE OR REPLACE clause. When using the REPLACE clause, it also applies the COPY GRANTS clause. When you clone or create a new object (such as a table, view, schema, or database) from an existing one, the new object doesn’t automatically inherit the original’s grants (privileges). However, with the COPY GRANTS clause, you can seamlessly transfer object-level privileges from the source object to the new one. This helps maintain consistent access control and simplifies permission management when cloning or recreating objects. For more information, read Snowflake COPY GRANTS.

