Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Save Vector Embedding to Postgres

Prev Next
Step Details
Introduced in Version9.3.0
Last Modified in Version9.3.0
LocationAI > Postgres

AI > Vector Preparation

The Save Vector Embedding to Postgres step is used to allow the storage of vector embeddings in a PostgreSQL table. It takes the 'Vector Storage Info' and the list of vectors to store as input. This step is valuable for saving embeddings generated from various sources into the PostgreSQL database, providing a centralized location for vector data. 

Prerequisites 

This step requires the AI Common to be installed before it will be available in the toolbox.


Properties

Connection Settings

PropertyDescriptionData Type
Override Vector Table ConnectionBoolean enabling user to override default vector table connectionBoolean

Query Settings

PropertyDescriptionData Type
Vector Storage InfoLocation of vector storage chosen from flow dataFlow Data

Inputs

PropertyDescriptionData Type
Embeddings to StoreList of embeddings to storeList of AITextEmbedding

Outputs

PropertyDescriptionData Type
Error


Error MessageThis output provides an error message that details any errors encountered during the process. If there are issues with the operation, this message will help identify and troubleshoot the problem.String


Common Errors

Object Reference Not Set to an Instance of an Object

If the Vector Storage Info is not set, the step will cause an error.

To correct this, ensure there is valid and properly formatted vector storage info inputted.


Related Information


AI Common Module