Add cohere(Coral) Ai support

This commit is contained in:
Abhi
2024-04-14 08:58:19 +00:00
committed by GitHub
parent 11327e274d
commit 6054b313c9
5 changed files with 50 additions and 3 deletions

View File

@@ -75,7 +75,16 @@ echo "You can get it here -> https://makersuite.google.com/app/apikey"
read -r -p "GEMINI_KEY > " gemini_key
if [[ $gemini_key = "" ]]; then
echo "NOTE: API Not set you'll not be able to use AI modules"
echo "NOTE: API Not set you'll not be able to use Gemini AI modules"
fi
echo
echo "Enter COHERE_KEY if you want to use AI"
echo "You can get it here -> https://dashboard.cohere.com/api-keys"
read -r -p "COHERE_KEY > " cohere_key
if [[ $cohere_key = "" ]]; then
echo "NOTE: API Not set you'll not be able to use Coral AI modules"
fi
echo
@@ -130,6 +139,7 @@ APIFLASH_KEY=${apiflash_key}
RMBG_KEY=${rmbg_key}
VT_KEY=${vt_key}
GEMINI_KEY=${gemini_key}
COHERE_KEY=${cohere_key}
VCA_API_KEY=${vca_api_key}
PM_LIMIT=${pm_limit}
EOL