tenants
table that is built-in to Nile.
Next, you’ll want to pick up your database connection string: Navigate to the “Settings” page, select “Connections” and click “Generate credentials”.
Copy the connection string and keep it in a secure location.
To use Nile in your application, you’ll also need to install Psycopg2, a Python library for interacting with Postgres.
And since we’ll be using vector embeddings, it helps to have pgvector’s Python client installed as well.
You can install it with the following command:
Titan Text Embeddings V2
model from Amazon.
You’ll also need to install boto3
, which is AWS’s Python SDK. You can install it with the following command: