add local sparse retriever, ann dense retriever and online search engine
This commit is contained in:
7
example/retriever/retrieval_launch_serpapi.sh
Normal file
7
example/retriever/retrieval_launch_serpapi.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
search_url=https://serpapi.com/search
|
||||
serp_api_key="" # put your serp api key here (https://serpapi.com/)
|
||||
|
||||
python search_r1/search/online_search_server.py --search_url $search_url \
|
||||
--topk 3 \
|
||||
--serp_api_key $serp_api_key
|
||||
Reference in New Issue
Block a user