-
Notifications
You must be signed in to change notification settings - Fork 309
Merge FaqGen into ChatQnA #1654
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
Conversation
Dependency Review✅ No vulnerabilities or license issues found.Scanned Files
|
0a3b373
to
0ec52ee
Compare
dca32af
to
6b9acd0
Compare
Refactor FaqGen into ChatQnA, serve as a LLM selection Signed-off-by: Xinyao Wang <xinyao.wang@intel.com>
Signed-off-by: Xinyao Wang <xinyao.wang@intel.com>
38236c3
to
33fe3b4
Compare
for more information, see https://pre-commit.ci
Remove Dockerfile.faqgen, Dockerfile.without_rerank, Dockerfile.guardrails Combine all types into Dockerfile, use env CHATQNA_TYPE to make selection Signed-off-by: Xinyao Wang <xinyao.wang@intel.com>
This change will impact helm charts and benchmark, @yongfengdu @bjzhjing please aware. |
ROCm issue is not caused by this PR, it failed in main branch. So let's merge this PR first and create an issue to trace. #1699 |
1. Delete FaqGen 2. Refactor FaqGen into ChatQnA, serve as a LLM selection. 3. Combine all ChatQnA related Dockerfile into one Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
chatqna_arg=$CHATQNA_TYPE | ||
|
||
if [[ $chatqna_arg == "CHATQNA_FAQGEN" ]]; then | ||
python chatqna.py --faqgen | ||
elif [[ $chatqna_arg == "CHATQNA_NO_RERANK" ]]; then | ||
python chatqna.py --without-rerank | ||
elif [[ $chatqna_arg == "CHATQNA_GUARDRAILS" ]]; then | ||
python chatqna.py --with-guardrails | ||
else | ||
python chatqna.py | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this logic was added to a separate script instead of directly into chatqna.py
?
1. Delete FaqGen 2. Refactor FaqGen into ChatQnA, serve as a LLM selection. 3. Combine all ChatQnA related Dockerfile into one Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
1. Delete FaqGen 2. Refactor FaqGen into ChatQnA, serve as a LLM selection. 3. Combine all ChatQnA related Dockerfile into one Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
1. Delete FaqGen 2. Refactor FaqGen into ChatQnA, serve as a LLM selection. 3. Combine all ChatQnA related Dockerfile into one Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: Chingis Yundunov <c.yundunov@datamonsters.com>
Description
Issues
List the issue or RFC link this PR is working on. If there is no such link, please mark it as
n/a
.Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.