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>
15 lines
400 B
Bash
15 lines
400 B
Bash
# Copyright (C) 2025 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
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
|