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

Enable dynamic update of Azure OpenAI model deployment name #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pmalarme
Copy link
Owner

@pmalarme pmalarme commented May 17, 2024

Implements dynamic updating of the Azure OpenAI model deployment name in the backend and documents the new functionality.

  • Environment Variable Integration: Fetches the Azure OpenAI model deployment name dynamically from an environment variable AZURE_OPENAI_DEPLOYMENT_NAME, allowing for runtime configuration without code changes.
  • New REST Endpoints: Adds /model-deployment-name with GET and POST methods to get the current model deployment name and update it dynamically, respectively. This facilitates easy management of the model deployment name without direct environment variable access.
  • Documentation Update: Enhances backend/README.md with instructions on setting the AZURE_OPENAI_DEPLOYMENT_NAME environment variable and details on using the new REST endpoints for managing the model deployment name.

For more details, open the Copilot Workspace session.

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.

None yet

1 participant