Skip to content

Enable kwargs in SearchIndex and Embedding Retriever #1185

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

Merged
merged 7 commits into from
Nov 15, 2024

Conversation

Amnah199
Copy link
Contributor

@Amnah199 Amnah199 commented Nov 12, 2024

Related Issues

Proposed Changes:

  • Allow users to pass kwargs to SearchIndex and client.search to enable configuration of semantic ranking if needed.
  • Removed passing DuplicatePolicy to the document store as its not needed.
  • Added a wait_for_index_deletion to ensure the index is deleted after each test to prevent failures caused by max no. of indexes allowed.

How did you test it?

  • Ran the tests
  • Locally tested an example for semantic ranking

Notes for the reviewer

NA

Checklist

@github-actions github-actions bot added the type:documentation Improvements or additions to documentation label Nov 12, 2024
@Amnah199 Amnah199 marked this pull request as ready for review November 13, 2024 14:20
@Amnah199 Amnah199 requested a review from a team as a code owner November 13, 2024 14:20
@Amnah199 Amnah199 requested review from anakin87 and removed request for a team November 13, 2024 14:20
@Amnah199
Copy link
Contributor Author

@ttmenezes would be nice to have your review as well.

@anakin87 anakin87 requested review from vblagoje and removed request for anakin87 November 13, 2024 14:41
@Amnah199 Amnah199 requested a review from anakin87 November 13, 2024 17:25
@anakin87 anakin87 removed the request for review from vblagoje November 13, 2024 18:07
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 merge once the suggested changes are incorporated.

@Amnah199 Amnah199 merged commit 67e08d0 into main Nov 15, 2024
10 checks passed
@Amnah199 Amnah199 deleted the add-semantic-reranking-azure-ai branch November 15, 2024 14:23
Amnah199 added a commit to ttmenezes/haystack-core-integrations that referenced this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants