-
Notifications
You must be signed in to change notification settings - Fork 16.1k
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
Add concurrent insertion of vector rows in the Cassandra Vector Store #6772
Add concurrent insertion of vector rows in the Cassandra Vector Store #6772
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
This last commit adapts the Cassandra Vector Store to the newest cassIO library, which introduces a few improvements (including interface changes). Also the Sorry about the |
@rlancemartin could you take a look at this Cassandra followup? |
Thanks! Same as 6671, can you please rebase on One other note: are there any conflicts between changes here and 6771 that we can resolve early (e.g., maybe they could be tested together by stacking the PRs). |
f98a913
to
007cd32
Compare
Rebased. But when trying to run tests I get
Am I doing it wrong? |
Test problem was due to me not re-running |
Glad you figured it out! I just kicked off tests. |
@jbellis please run |
@rlancemartin Hello, the linter/code style should be happy now :) |
cd0429c
to
035772c
Compare
035772c
to
a5b206c
Compare
The repeated conflict with |
@rlancemartin Sorry, I might have inadvertently done something untoward. |
No problem. You should have the branch locally, and can force push your local branch to recover all. |
Thank you! I actually did a git reset --hard on my pc but @jbellis will do the forcepush in a few minutes. Sorry about this and thank you for helping! |
I pushed it back to where I left it yesterday after the reformat. Doesn't look like that is showing up yet on this PR page but I confirmed that the branch at https://github.com/hemidactylus/langchain/tree/SL-cassandra-vectorstore-2 is where it should be. |
@rlancemartin perhaps the PR should be re-opened somehow? I see "no new commits" so I cannot reopen with this comment (yet the branch is restored). |
Try I get permission denied when I try to push from my local branch now (this worked previously) -
Can you re-open the PR? If not, you should be able to simply open a new PR. If you do that, you probably want to change the branch name. |
Thank you, I went with the "new PR" option (#7017). Thank you again! |
…ndra Vector Store (#7017) Retrying with the same improvements as in #6772, this time trying not to mess up with branches. @rlancemartin doing a fresh new PR from a branch with a new name. This should do. Thank you for your help! --------- Co-authored-by: Jonathan Ellis <jbellis@datastax.com> Co-authored-by: rlm <pexpresss31@gmail.com>
…ndra Vector Store (#7017) Retrying with the same improvements as in #6772, this time trying not to mess up with branches. @rlancemartin doing a fresh new PR from a branch with a new name. This should do. Thank you for your help! --------- Co-authored-by: Jonathan Ellis <jbellis@datastax.com> Co-authored-by: rlm <pexpresss31@gmail.com>
Using the newest
cassIO
, the Cassandra Vector Store can now perform concurrent DB insertion in itsadd_texts
method, hence improving its performance.Linter unrelated errors
Running the linter, the following (likely unrelated) was observed:
Happy to be pointed at a fix, if the above is somehow caused by the code in this PR!