Skip to content

WIP Hack to get azure working #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

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