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

fix: skip unsupported meta fields in PineconeDB #1009

Merged
merged 7 commits into from
Aug 21, 2024

Conversation

davidsbatista
Copy link
Contributor

@davidsbatista davidsbatista commented Aug 20, 2024

Related Issues

How did you test it?

  • unit tests, integration tests and manual verification

Checklist

@davidsbatista davidsbatista marked this pull request as ready for review August 20, 2024 14:18
@davidsbatista davidsbatista requested a review from a team as a code owner August 20, 2024 14:18
@davidsbatista davidsbatista requested review from shadeMe and anakin87 and removed request for a team and shadeMe August 20, 2024 14:18
@davidsbatista davidsbatista changed the title New skip meta and add pine cone warning fix: skip unsupported meta fields in PineconeDB Aug 20, 2024
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

I left a few comments.

@github-actions github-actions bot added the type:documentation Improvements or additions to documentation label Aug 21, 2024
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

Feel free to integrate my suggestions, then merge this PR.

integrations/pinecone/tests/test_document_store.py Outdated Show resolved Hide resolved
assert "_split_overlap" not in pinecone_doc.meta


def test_validate_metadata_valid():
Copy link
Member

Choose a reason for hiding this comment

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

same as above

davidsbatista and others added 2 commits August 21, 2024 11:29
…s/pinecone/document_store.py

Co-authored-by: Stefano Fiorucci <[email protected]>
@davidsbatista davidsbatista merged commit b3a9723 into main Aug 21, 2024
6 checks passed
@davidsbatista davidsbatista deleted the new-skip-meta-and-add-pine-cone-warning branch August 21, 2024 09:34
Amnah199 pushed a commit that referenced this pull request Oct 2, 2024
* initial import

* nit

* linting

* PR comments

* Update integrations/pinecone/src/haystack_integrations/document_stores/pinecone/document_store.py

Co-authored-by: Stefano Fiorucci <[email protected]>

* nit

---------

Co-authored-by: Stefano Fiorucci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration:pinecone type:documentation Improvements or additions to documentation
Projects
None yet
2 participants