Update AgentQnA and DocSum for Gaudi Compatibility (#1777)

Signed-off-by: Mahathi Vatsal <mahathi.vatsal.salopanthula@intel.com>
This commit is contained in:
mahathis
2025-04-15 22:01:27 -07:00
committed by GitHub
parent 13dd27e6d5
commit c73b09a758
2 changed files with 13 additions and 0 deletions

View File

@@ -6,4 +6,14 @@ port=6007
FILEDIR=${WORKDIR}/GenAIExamples/AgentQnA/example_data/
FILENAME=test_docs_music.jsonl
# Check if packages are installed
for package in "${packages[@]}"; do
if pip freeze | grep -q "$package="; then
echo "$package is installed"
else
echo "$package is not installed"
pip install --no-cache-dir "$package"
fi
done
python3 index_data.py --filedir ${FILEDIR} --filename ${FILENAME} --host_ip $host_ip --port $port

View File

@@ -107,3 +107,6 @@ services:
networks:
default:
driver: bridge
volumes:
data: