pgvector Postgres extension.
Setup
To work with TypeORM, you need to install thetypeorm and pg packages:
npm
npm
npm
Setup a pgvector self hosted instance with docker-compose
pgvector provides a prebuilt Docker image that can be used to quickly setup a self-hosted Postgres instance.
Create a file below named docker-compose.yml:
docker-compose.yml
docker compose up to start the container.
You can find more information on how to setup pgvector in the official repository.
Usage
Related
- Vector store conceptual guide
- Vector store how-to guides
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.