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

refactor: Rework legacy filters embedding tests and remove numpy dependency #6371

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

silvanocerza
Copy link
Contributor

Related Issues

Related to #6284.

Proposed Changes:

Rework legacy filters tests to use realistic embeddings. I also changed the type from numpy.array to List[float] as Document.embedding field is not that type anymore.

How did you test it?

Ran tests locally.

Notes for the reviewer

This is part of a series of PRs, I'll update release notes at the end.

Checklist

@silvanocerza silvanocerza added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Nov 21, 2023
@silvanocerza silvanocerza self-assigned this Nov 21, 2023
@silvanocerza silvanocerza requested a review from a team as a code owner November 21, 2023 10:20
@silvanocerza silvanocerza requested review from ZanSara and anakin87 and removed request for a team and ZanSara November 21, 2023 10:20
@github-actions github-actions bot added the 2.x Related to Haystack v2.0 label Nov 21, 2023
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.

Nice!

@silvanocerza silvanocerza merged commit 0a5b37f into main Nov 21, 2023
22 checks passed
@silvanocerza silvanocerza deleted the rework-embeddings-tests branch November 21, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 ignore-for-release-notes PRs with this flag won't be included in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants