README fixes Finance Example (#1882)

Signed-off-by: Rita Brugarolas <rita.brugarolas.brufau@intel.com>
Co-authored-by: Ying Hu <ying.hu@intel.com>
This commit is contained in:
rbrugaro
2025-04-24 23:58:08 -07:00
committed by GitHub
parent ef9290f245
commit 18b4f39f27

View File

@@ -44,6 +44,8 @@ git clone https://github.com/opea-project/GenAIExamples.git
### 2.2 Set up env vars
```bash
export ip_address="External_Public_IP"
export no_proxy=${your_no_proxy},${ip_address}
export HF_CACHE_DIR=/path/to/your/model/cache/
export HF_TOKEN=<you-hf-token>
export FINNHUB_API_KEY=<your-finnhub-api-key> # go to https://finnhub.io/ to get your free api key
@@ -100,8 +102,8 @@ bash launch_dataprep.sh
Validate datat ingest data and retrieval from database:
```bash
python $WORKPATH/tests/test_redis_finance.py --port 6007 --test_option ingest
python $WORKPATH/tests/test_redis_finance.py --port 6007 --test_option get
python $WORKDIR/GenAIExamples/FinanceAgent/tests/test_redis_finance.py --port 6007 --test_option ingest
python $WORKDIR/GenAIExamples/FinanceAgent/tests/test_redis_finance.py --port 6007 --test_option get
```
### 3.3 Launch the multi-agent system