Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[BB2] Add check for correct query generator #4366

Merged
merged 1 commit into from
Feb 17, 2022
Merged

[BB2] Add check for correct query generator #4366

merged 1 commit into from
Feb 17, 2022

Conversation

klshuster
Copy link
Contributor

Patch description
If we set --knowledge-access-method search_only for BB2, we cannot use the default query generator. This patch adds a runtime check for this, and raises an error if it occurs.

Also checking in an override option.

Testing steps
local testing

Copy link
Contributor

@jxmsML jxmsML left a comment

Choose a reason for hiding this comment

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

LGTM!!! Thanks

@klshuster klshuster merged commit 3cdf65a into main Feb 17, 2022
@klshuster klshuster deleted the add_bb2_assert branch February 17, 2022 23:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants