-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat(community): enabling pass-through of InsertOptions to Astra #7343
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
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.
LGTM
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.
Thank you!
* @returns Promise that resolves when the vectors have been added. | ||
*/ | ||
async addVectors( | ||
vectors: number[][], | ||
documents: Document[], | ||
options?: string[] | ||
options?: { ids?: string[]; insertOptions?: InsertManyOptions } |
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.
Flagging that this is technically breaking
Can you please run |
The
astra-db-ts
driver allows for options (timeout, concurrency, etc) that we can expose to the caller for optional use.