Manage embeddings in Retool-managed Vectors
Learn how to manage text embeddings stored in Retool-managed Vectors.
You can use Retool-managed Vectors to store plain text or extracted text from PDF documents, or text from publicly accessible web pages.
Create a vector
Within the scope of Retool-managed Vectors, a Vector is a collection of unstructured text (known as embeddings). You create a vector to define the overall relationship and then add text or URLs to it. For example, if you wanted to build an AI-powered chat tool and want it to use context from your support site, you would create a vector (such as Documentation) and add URLs from your documentation site.
To create a Vector:
- Navigate to the Resources settings and click Retool Vectors.
- Click Add Vector.
- Specify a name for the vector and the type of content it will contain.
Each vector you create can contain either document text or URLs, not both.
Edit a vector
You can edit the name and description of a Retool-managed vector. Select the vector to edit, click •••
, then select Edit vector details.
If necessary, click Delete Vector to remove it. All vector data will be removed and cannot be recovered—you would need to recreate the vector.
Remove documents and URLs
Toggle the checkbox next to the document or URL in a vector to select it, then click Delete.
You can add documents or plain text to a vector manually or query the Retool Vectors resource in apps or workflows.
List Vectors
You can query the Retool Vectors resource in apps or workflows to list all available Vectors. This enables you to build apps that allows users to select a Vector and perform further actions, such as adding documents or URLs to it.
- Set Resource to Retool Vectors.
- Set Vector action to List all Vectors.