Fury / query_llm /run1.sh
rasa2's picture
Update Fury broker Space
661b502 verified
Raw
History Blame Contribute Delete
843 Bytes
echo "The input is $@"
python3 rits_query.py $@
# #!/usr/bin/env bash
# set -euo pipefail
#
# echo "The input is $@"
#
# input_string="${*:-}"
#
# if [[ -z "$input_string" ]]; then
# echo "Usage: $0 'The input is --model ... --input-file /path/to/file'" >&2
# exit 1
# fi
#
# input_file=""
#
# # Convert the input string into shell-like arguments safely
# eval "set -- $input_string"
#
# while [[ $# -gt 0 ]]; do
# case "$1" in
# --input-file)
# shift
# input_file="${1:-}"
# break
# ;;
# esac
# shift
# done
#
# if [[ -z "$input_file" ]]; then
# echo "Error: --input-file flag was not found or has no value" >&2
# exit 1
# fi
#
# if [[ ! -f "$input_file" ]]; then
# echo "Error: file does not exist: $input_file" >&2
# exit 1
# fi
#
# cat "$input_file"
#
#
# python3 rits_query.py $@