Trillo Document AI VectorDB Setup
Prerequisites:
A Google Cloud Project with the Cloud SQL API enabled.
A deployer VM instance where you have SSH access.
Steps:
SSH into Deployer VM:
Connect to your deployer VM instance using SSH.
Create Setup Files:
Create a directory named docai.
Inside docai, create two files:
install.sh
vectorembedding.sql
Populate install.sh:
Paste the following code into install.sh, ensuring proper indentation:
Populate vectorembedding.sql:
Paste the provided SQL code directly into vectorembedding.sql
Execute the Script:
Run install.sh from within the docai directory: ./install.sh
Important: Note down the generated database URL, username, and password.
Workbench UI Configuration:
Open the Trillo Document AI Workbench UI.
If a data source doesn't exist, create one using the connection details from step 5.
Navigate to the appropriate section within the UI and enter the database URL, username, and password.
Save your changes.
Last updated