
set -x
CUR_DIR=$(cd "$(dirname "$0")";pwd)
ROOT_DIR=${CUR_DIR}/../../..

cd ${ROOT_DIR}
rm -rf ${ROOT_DIR}/bin/prompt_evaluation_gen_answer
go build -o ${ROOT_DIR}/bin/prompt_evaluation_gen_answer ${ROOT_DIR}/test/prompt_evaluation/gen_answer/main.go

${ROOT_DIR}/bin/prompt_evaluation_gen_answer --config-path ${ROOT_DIR}/config.yaml --table-infos ${CUR_DIR}/../data/table_info_with_question.json --output ${CUR_DIR}/../data/table_info_with_answer.json --top-p 0.4

#${ROOT_DIR}/bin/prompt_evaluation_gen_answer --config-path ${ROOT_DIR}/config.yaml --table-infos ${CUR_DIR}/../data/table_info_with_question.json --output ${CUR_DIR}/../data/table_info_with_answer.json --top-p 0.2

#${ROOT_DIR}/bin/prompt_evaluation_gen_answer --config-path ${ROOT_DIR}/config.yaml --table-infos ${CUR_DIR}/../data/table_info_with_question.json --output ${CUR_DIR}/../data/table_info_with_answer.json --top-p 0.6

#${ROOT_DIR}/bin/prompt_evaluation_gen_answer --config-path ${ROOT_DIR}/config.yaml --table-infos ${CUR_DIR}/../data/table_info_with_question.json --output ${CUR_DIR}/../data/table_info_with_answer.json --top-p 0.8

#${ROOT_DIR}/bin/prompt_evaluation_gen_answer --config-path ${ROOT_DIR}/config.yaml --table-infos ${CUR_DIR}/../data/table_info_with_question.json --output ${CUR_DIR}/../data/table_info_with_answer.json --top-p 1.0
