update readme for w/o rerank (#731)

Signed-off-by: letonghan <letong.han@intel.com>
This commit is contained in:
Letong Han
2024-09-04 15:01:30 +08:00
committed by GitHub
parent 995a62c9d9
commit 4a51874e4d

View File

@@ -163,10 +163,15 @@ Run the cURL command to upload file:
```bash ```bash
cd GenAIEval/evals/benchmark/data cd GenAIEval/evals/benchmark/data
# RAG with Rerank
curl -X POST "http://${cluster_ip}:6007/v1/dataprep" \ curl -X POST "http://${cluster_ip}:6007/v1/dataprep" \
-H "Content-Type: multipart/form-data" \ -H "Content-Type: multipart/form-data" \
-F "files=@./upload_file.txt" \ -F "files=@./upload_file.txt" \
-F "chunk_size=3800" -F "chunk_size=3800"
# RAG without Rerank
curl -X POST "http://${cluster_ip}:6007/v1/dataprep" \
-H "Content-Type: multipart/form-data" \
-F "files=@./upload_file_no_rerank.txt"
``` ```
##### 3.2 Run Benchmark Test ##### 3.2 Run Benchmark Test