Skip to content

Commit

Permalink
[windows] add: default init SearchQA
Browse files Browse the repository at this point in the history
  • Loading branch information
ifTNT committed Sep 11, 2024
1 parent 898341e commit d2cff13
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions windows/executors/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for %%e in ("%cd%.") do set "current_folder=%%~nxe"

REM Define an array to store the model types and their names
set "names[1]=ChatGPT"
set "names[2]=Gemini"
set "names[2]=Gemini Pro"
set "names[3]=GGUF Model"
set "names[4]=HuggingFace Model"
set "names[5]=Ollama"
Expand Down Expand Up @@ -125,9 +125,12 @@ if "taide"=="!current_folder!" (
set "worker_path=searchqa.py"
set "working_dir=..\..\..\src\executor\docqa\"

REM not quick
REM no api key in quick mode
if "%1" == "quick" (
exit /b 0
set "google_api_key="
set "google_cse_id="
set "advanced_search_params="
goto skip_selection
)

:input_google_api_key
Expand Down

0 comments on commit d2cff13

Please sign in to comment.