yufeikang / ai-cli

This CLI tool allows you to easily use chatGPT in the command line. You can chat with it, ask it questions, and get text translations. It also supports rendering Markdown in the terminal.
MIT License
135 stars 10 forks source link

could you please add support for Azure OpenAI #19

Closed fieri closed 8 months ago

fieri commented 1 year ago

could you please add support for Azure OpenAI

ishaan-jaff commented 1 year ago

@fieri @yufeikang happy to take lead on this and help increase coverage using https://github.com/BerriAI/litellm

let me know if this sounds good

yufeikang commented 9 months ago

Hello! Azure support is already available. Can you help test it? You need to set the environment variables AZURE_OPENAI_ENDPOINT and either AZURE_OPENAI_AD_TOKEN or AZURE_OPENAI_API_KEY.