- You must be authenticated with the Azure CLI
- You need the env variable
AZURE_SUBSCRIPTION_IDto be configured - You need the env variable
GPTSCRIPT_AZURE_RESOURCE_GROUPto be configured - You need the env variable
GPTSCRIPT_AZURE_WORKSPACEto be configured
az login
export AZURE_SUBSCRIPTION_ID=<your-subscription-key>
export GPTSCRIPT_AZURE_RESOURCE_GROUP=<your-resource-group>
export GPTSCRIPT_AZURE_WORKSPACE=<your-workspace>
gptscript --default-model='Mistral-large from github.com/gptscript-ai/azure-other-provider' examples/helloworld.gpt
Run using the following commands
python -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt
./run.sh
export OPENAI_BASE_URL=http://127.0.0.1:8000/v1
export GPTSCRIPT_DEBUG=true
gptscript --default-model=Mistral-large examples/bob.gpt