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: add azure openai support #203

Closed
jsburckhardt opened this issue Apr 20, 2023 · 5 comments
Closed

feat: add azure openai support #203

jsburckhardt opened this issue Apr 20, 2023 · 5 comments

Comments

@jsburckhardt
Copy link

As a user of the project, I would like to request the addition of support for Azure OpenAI. With this new feature, I can take advantage of the advanced AI technologies and services offered by the Azure OpenAI platform.

I believe that incorporating support for Azure OpenAI would greatly enhance the project's functionality and usefulness. Users who are interested in integrating AI capabilities into their applications would find this feature particularly valuable.

Azure OpenAI already offers a range of APIs that are similar to those currently being used by the project. However, there are a few differences, which can be reviewed in detail at https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference.

For more information on how ChatGPT can be used in Azure OpenAI, please visit https://azure.microsoft.com/en-us/blog/chatgpt-is-now-available-in-azure-openai-service/.

@moritztim
Copy link
Contributor

#32

Just a quick note, we have a Discussions section on GitHub where we can discuss ideas, feature requests, and other topics related to this project.

Using the Discussions feature allows us to keep all conversations in one place, making it easier to keep track of feedback and ideas. Additionally, other community members can join in and provide feedback, leading to better collaboration and a more productive conversation.

So, I encourage you to use the Discussions feature for any ideas or feature requests you might have. This will help ensure that your ideas are seen and considered by the community, and we can work together to improve the project.

@TheR1D
Copy link
Owner

TheR1D commented Feb 2, 2024

I'm considering to use LiteLLM for multiple backends integration. This should provide an option to switch between various LLM backends including Azure. I would greatly appreciate any assistance with testing the Azure Integration PR #463. To test it follow these steps:

git clone https://github.com/TheR1D/shell_gpt.git
cd shell_gpt
git checkout ollama
python -m venv venv
source venv/bin/activate
pip install -e  .

export AZURE_API_KEY=YOUR_KEY
export AZURE_API_BASE=YOUR_API_BASE
export AZURE_API_VERSION=YOUR_API_VERSION
export AZURE_AD_TOKEN=YOUR_TOKEN # Optional
export AZURE_API_TYPE=YOUR_API_TYPE # Optional

sgpt --model azure/<your_deployment_name> --no-functions "Hi Azure"

@TheR1D
Copy link
Owner

TheR1D commented Feb 9, 2024

ShellGPT with LiteLLM was release as 1.3.0, please follow steps above to setup ShellGPT with Azure. Given that I'm closing this issue.

@TheR1D TheR1D closed this as completed Feb 9, 2024
@nizametdinovcrx
Copy link

nizametdinovcrx commented Feb 12, 2024

Any plans to update docs (README.md in master)?

@TheR1D
Copy link
Owner

TheR1D commented Feb 22, 2024

Wiki page added, link included in README.md #491

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

No branches or pull requests

4 participants