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

Fixes iter error in FAISS add_embeddings call #5367

Merged
merged 1 commit into from
May 28, 2023

Conversation

ninjapenguin
Copy link
Contributor

@ninjapenguin ninjapenguin commented May 28, 2023

Remove re-use of iter within add_embeddings causing error

As reported in #5336 there is an issue currently involving the atempted re-use of an iterator within the FAISS vectorstore adapter

Fixes # #5336

Who can review?

Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

VectorStores / Retrievers / Memory

Atempted re-use of iter within add_embeddings resulted in error

/refs langchain-ai#5336
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

thanks!

@hwchase17 hwchase17 merged commit 9a5c9df into langchain-ai:master May 28, 2023
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
Undertone0809 pushed a commit to Undertone0809/langchain that referenced this pull request Jun 19, 2023
# Remove re-use of iter within add_embeddings causing error

As reported in langchain-ai#5336 there
is an issue currently involving the atempted re-use of an iterator
within the FAISS vectorstore adapter

Fixes # langchain-ai#5336

## Who can review?

Community members can review the PR once tests pass. Tag
maintainers/contributors who might be interested:

  VectorStores / Retrievers / Memory
  - @dev2049
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants