Gesso Vertex Middleware
Installation
pnpm install
Configuration
Actual permissions are handled via the environment having the correct GCP permissions, either from your personal account if local, or the server if hosted. You do need the following info to point it in the right direction.
VERTEX_PROJECT=GCP project id VERTEX_LOCATION=hosting region, does not have to match where data is stored, pick closest to you most of the time VERTEX_MODEL=A valid gemini model, warning that they change pretty often. VERTEX_DATASTORE=projects/PROJECT/locations/global/collections/default_collection/dataStores/DATASTORENAME
See example.env for a specific example.
Usage
pnpm testto run the testspnpm lintto lint the code