Files
GenAIExamples/ChatQnA/entrypoint.sh
XinyaoWa 6d24c1c77a Merge FaqGen into ChatQnA (#1654)
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>
2025-03-20 17:40:00 +08:00

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