Skip to content

can support Azure openai#43

Open
Midnight-719 wants to merge 2 commits into
andrewyng:mainfrom
Midnight-719:BEstaff/add-azure-openai
Open

can support Azure openai#43
Midnight-719 wants to merge 2 commits into
andrewyng:mainfrom
Midnight-719:BEstaff/add-azure-openai

Conversation

@Midnight-719

Copy link
Copy Markdown

Context

What is the purpose of this PR? Is it to

  • add a new feature
  • fix a bug
  • update tests and/or documentation
  • other (please add here)

This PR adds support for Azure OpenAI integration. It includes environment variable templates for Azure OpenAI in the .env.sample file and implements the Azure client in src/translation_agent/utils.py.

Changelog

What are the changes made in this PR?

Test plan

Please make sure to do each of the following if applicable to your PR. (If you're not sure about any one of these just ask and we will happily help.)

  • run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
  • add unit tests for any new functionality
  • update docstrings for any new or updated methods or classes
  • run unit tests via pytest tests
  • include relevant commands and any other artifacts in this summary (eval results, etc.)

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.

1 participant