Skip to content

Enable dynamic update of Azure OpenAI model deployment name#2

Open
pmalarme wants to merge 1 commit intomainfrom
dynamic-model-name
Open

Enable dynamic update of Azure OpenAI model deployment name#2
pmalarme wants to merge 1 commit intomainfrom
dynamic-model-name

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.

1 participant