|
|
@ -6,7 +6,7 @@ prompt_user() {
|
|
|
|
echo "1. Use DocsGPT public API (simple and free)"
|
|
|
|
echo "1. Use DocsGPT public API (simple and free)"
|
|
|
|
echo "2. Download the language model locally (12GB)"
|
|
|
|
echo "2. Download the language model locally (12GB)"
|
|
|
|
echo "3. Use the OpenAI API (requires an API key)"
|
|
|
|
echo "3. Use the OpenAI API (requires an API key)"
|
|
|
|
read -p "Enter your choice (1-3): " choice
|
|
|
|
read -p "Enter your choice (1, 2 or 3): " choice
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Function to handle the choice to download the model locally
|
|
|
|
# Function to handle the choice to download the model locally
|
|
|
|