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

Query Table With Vector Data

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

AI > Vector Preparation

The Query Table With Vector Data Step is used to  facilitate querying a PostgreSQL table with vector data. It takes as input the 'Vector Storage Info' and the specific vector to find, which includes a JSON Representation, ReferenceID, and TokenCount. This step is useful for retrieving relevant information based on vector data stored in the PostgreSQL database.  

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
Vector to FindUsed to select the specific vector to locateAITextEmbedding

Outputs

PropertyDescriptionData Type
Done


ResultsOutputs the results of the searched vectorVectorQueryResult
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