Skip to content

Conversation

cjellick
Copy link
Contributor

@cjellick cjellick commented Mar 1, 2024

This hack makes the following incantation work:
Env vars:

OPENAI_API_KEY=***
OPENAI_API_TYPE=AZURE
OPENAI_AZURE_DEPLOYMEN=gpt-4-default
OPENAI_BASE_URL=https://*****.openai.azure.com/

command:

gptscript --default-model "gpt-4" --cache=false ./examples/echo.gpt --input "hi"

Signed-off-by: Craig Jellick [email protected]

Signed-off-by: Craig Jellick <[email protected]>
@cjellick cjellick mentioned this pull request Mar 1, 2024
@cjellick cjellick changed the title Hack to get azure working WIP Hack to get azure working Mar 1, 2024
@keyallis keyallis closed this Mar 6, 2024
@cjellick cjellick deleted the azure-fix branch June 7, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants