θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@angelplusultra
Copy link
Contributor

@angelplusultra angelplusultra commented Sep 24, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #4429

What is in this change?

This PR introduces a one line fix to ensure the pgvector extension is enabled on the user's PG database before proceeding with document embedding. This fixes the "type vector does not exist" error.

As stated in the issue, this is happening because by default, a PG database w/ PG Vector does not have the plugin enabled. It must be explicit enabled with the SQL command CREATE EXTENSION vector

Official PG Vector Docs:
https://github.com/pgvector/pgvector?tab=readme-ov-file#getting-started

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

Copy link
Collaborator

@shatfield4 shatfield4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timothycarambat timothycarambat merged commit 2226f29 into master Sep 26, 2025
1 check passed
@timothycarambat timothycarambat deleted the 4429-type-vector-does-not-exist branch September 26, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR:needs review Needs review by core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: PG Vector Embedding Error (type "vector" does not exist)

4 participants