add local sparse retriever, ann dense retriever and online search engine
This commit is contained in:
8
example/retriever/retrieval_launch_google.sh
Normal file
8
example/retriever/retrieval_launch_google.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
api_key="" # put your google custom API key here (https://developers.google.com/custom-search/v1/overview)
|
||||
cse_id="" # put your google cse API key here (https://developers.google.com/custom-search/v1/overview)
|
||||
|
||||
python search_r1/search/internal_google_server.py --api_key $api_key \
|
||||
--topk 5 \
|
||||
--cse_id $cse_id \
|
||||
--snippet_only
|
||||
Reference in New Issue
Block a user