I am trying to create Vectors on a Self Hosted deployed on GCP, using Kubernetes. I am using Retool version 3.196.8. I already enabled Retool AI with Retool Managed OpenAI and I've already created the extension pgvector on the Retool Database. However, when I try to create the Vector, I am getting the message below:
You must have Retool Database enabled to use Retool Vectors
It looks like you’ve already taken most of the right steps, enabling Retool AI, using the Retool-managed OpenAI, and installing the pgvector extension. However, the error message "You must have Retool Database enabled to use Retool Vectors" suggests that the issue is with the Retool Database itself not being properly enabled or recognized. Even though you created the extension, make sure that you're actually using the Retool-hosted database and not just a custom Postgres instance.
Check that you've enable vectors on the correct database. There are 2, one for the retool installation and one (or more) databases for the Retool Database functionality (the one you access from Retool)
Thanks! Yeah, I've created the pgvector extension on the Retool Database functionality. However, how can I configure Vectors to use this database? I couldn't find anything related to this here:
Just wanted to check in to see if @mbruijnpff's suggestion was helpful and if you needed any additional set up steps or if it now works when you add documents as vectors from the resources page!
Hi @Jack_T , at the end, I decided to recreate the Resources database and, then, I started to work properly. I don't why exactly it did not work before that.
That is great to hear! Happy it was resolved. It sounds like the resource/database had gotten into a corrupted state and just needed a hard refresh to get everything working as expected