-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Extends 6413 #6452
Extends 6413 #6452
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* @returns A new instance of `PGVectorStore`. | ||
*/ | ||
static async initialize( | ||
embeddings: EmbeddingsInterface, | ||
config: PGVectorStoreArgs | ||
config: PGVectorStoreArgs & { dimensions?: number } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to add the optional dimensions to the PGVectorStoreArgs type directly? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I can now see how it's not convenient - I can just make the constructor Omit
dimensions
Extends #6413
CC @clemenspeters