--- title: "Save Vector Embedding to Postgres" slug: "save-vector-embedding-to-postgres" updated: 2025-07-01T14:39:05Z published: 2025-07-01T14:39:05Z canonical: "documentation.decisions.com/save-vector-embedding-to-postgres" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Save Vector Embedding to Postgres | Step Details | | --- | | **Introduced in Version** | 9.3.0 | | **Last Modified in Version** | 9.3.0 | | **Location** | AI > 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](https://documentation.decisions.com/docs/ai-common) to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. --- ## Properties #### Connection Settings | Property | Description | Data Type | | --- | --- | --- | | Override Vector Table Connection | Boolean enabling user to override default vector table connection | Boolean | #### Query Settings | Property | Description | Data Type | | --- | --- | --- | | Vector Storage Info | Location of vector storage chosen from flow data | Flow Data | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Embeddings to Store | List of embeddings to store | List of AITextEmbedding | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Error | | | | | Error Message | This 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 | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-07-01_10h06_09.png) --- ## 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. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-07-01_10h07_54.png) --- Related Information [AI Common Module](https://documentation.decisions.com/docs/ai-common)