Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add pgvector extension #120

Open
pencil opened this issue Mar 2, 2024 · 3 comments
Open

Feature Request: Add pgvector extension #120

pencil opened this issue Mar 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@pencil
Copy link

pencil commented Mar 2, 2024

Describe the Feature Request
Add the pgvector extension to CircleCI's cimg-postgres Docker image to support efficient storage and search of vector data from machine learning models, aligning with industry trends towards ML integration. E.g. Amazon RDS installs the extension in their Postgres datbases.

Is your feature request related to a particular problem?

Yes, the absence of pgvector necessitates custom Docker images, slowing down CI/CD pipelines and introducing potential inconsistencies.

How will this feature request benefit CircleCI jobs using this image?

Incorporating pgvector will streamline workflows for ML projects, reduce setup times, and offer a consistent environment, making CircleCI more attractive to developers working with vector embeddings.

Describe the solution you would like to see

The pgvector extension installed by default in the cimg-postgres Docker image, compatible with its PostgreSQL versions and easily enabled via CREATE EXTENSION vector;

Describe alternatives you have considered

Manually installing pgvector or creating a custom Docker image. The former isn't possible and the latter is cumbersome and increases complexity.

@pencil pencil added the enhancement New feature or request label Mar 2, 2024
@kendagriff
Copy link

kendagriff commented Mar 15, 2024

@pencil: I submitted a PR for this very feature, but the maintainers have been silent.

@jbauerrfid
Copy link

Adding pgvector for AI applications is a great idea. But pgvector is a huge extension, and it would be preferable to publish this under a separate docker image tag, like "cimg/postgres:16.5-pgvector".

Most CI users use the postgres image to run baseline integration tests, and don't need pgvector for this.

@rmonteiro89
Copy link

Just in case somebody else gets stuck trying to use an image of Postgres with pgvector. I used the pgvector postgres image instead of the circleci image.

- image: pgvector/pgvector:pg14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants