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

feat: Implement hybrid search on BYOD endpoint. #891

Merged
merged 3 commits into from
May 14, 2024

Conversation

superhindupur
Copy link
Contributor

@superhindupur superhindupur commented May 13, 2024

Purpose

Before this change, the /api/conversation/byod endpoint did not use hybrid search - it only used "simple" or "semantic" query types, based on whether semantic search was enabled.

This PR changes the query types to vector_simple_hybrid and vector_simple_hybrid respectively.

Fixes #295

Does this introduce a breaking change?

  • Yes
  • No

How to Test

Deploy CWYD.
Ingest a file and test whether chat works with and without semantic search enabled.

@superhindupur superhindupur changed the title Implement hybrid search on BYOD endpoint. feature: Implement hybrid search on BYOD endpoint. May 13, 2024
@superhindupur superhindupur force-pushed the implement-hybrid-search-on-byod branch from e3ccb8b to 1c61ee9 Compare May 13, 2024 14:51
@ross-p-smith
Copy link
Collaborator

Is this for #295?

@superhindupur superhindupur marked this pull request as draft May 13, 2024 14:51
Copy link

github-actions bot commented May 13, 2024

Coverage

Coverage Report •
FileStmtsMissCoverMissing
code
   create_app.py130397%194, 199, 317
code/backend/batch/utilities/search
   AzureSearchHandler.py58296%24, 30
TOTAL229667570% 

Tests Skipped Failures Errors Time
178 0 💤 0 ❌ 0 🔥 11.014s ⏱️

@gaurarpit
Copy link
Contributor

Is this for #295?

Yes.

@superhindupur
Copy link
Contributor Author

Is this for #295?

Yes @ross-p-smith. I updated the PR description.

@superhindupur superhindupur changed the title feature: Implement hybrid search on BYOD endpoint. feat: Implement hybrid search on BYOD endpoint. May 13, 2024
@superhindupur superhindupur marked this pull request as ready for review May 13, 2024 14:57
Copy link
Collaborator

@adamdougal adamdougal left a comment

Choose a reason for hiding this comment

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

One small nit, but LGTM!

@superhindupur superhindupur added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 8309d54 May 14, 2024
9 checks passed
@superhindupur superhindupur deleted the implement-hybrid-search-on-byod branch May 14, 2024 09:16
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.

Allow for different queryType settings for chat on your data to Azure AI Search
5 participants