Skip to content
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

feat(azure): add config to work with azure openai. #203 #206

Closed

Conversation

jsburckhardt
Copy link

What

test results

  • create .env file with
    OPENAI_API_TYPE="azure"
    OPENAI_API_HOST="https://<your env>.openai.azure.com
    AZURE_OPENAI_ENGINE="<deployment id>"
    OPENAI_API_KEY="<the key>"

image

Copy link
Owner

@TheR1D TheR1D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please provide a test in test_integration.py. Also some instructions how to get Azue API key.

@jsburckhardt
Copy link
Author

Hmm the test results from the image are the integration tests running against azure endpoint. Would you like some tests to validate the API url ?

@mwester117
Copy link

Hello, upvote to integrate this feature in the next release!

@TheR1D
Copy link
Owner

TheR1D commented Feb 9, 2024

Hey @jsburckhardt thank you for effort and interest. Since there are a lot of LLM providers, ShellGPT will be using LiteLLM to cover multiple LLM providers. It was implemented in #463 and released as 1.3.0. Given that, I'll pass on this, but thanks for the effort! 🍰

@TheR1D TheR1D closed this Feb 9, 2024
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.

3 participants