Closed thucpn closed 3 months ago
Latest commit: f9208d2493d6e6f221011d54161c3c6c9d588a0d
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
[!CAUTION]
Review failed
The pull request is closed.
This update introduces Azure OpenAI as a new model provider, significantly enhancing the system's capabilities for model management and deployment. Key changes include Azure-specific configuration settings, user interaction for model selection, and expanded dependency management. These enhancements improve flexibility and scalability, enabling users to effectively leverage Azureβs infrastructure for their machine learning applications.
Files | Change Summary |
---|---|
.changeset/smooth-points-float.md | Introduces "create-llama" patch for Azure model provider integration, enhancing model management and deployment capabilities. |
helpers/env-variables.ts, helpers/providers/azure.ts, helpers/providers/index.ts | Adds Azure-specific environment variable configurations and updates the model configuration functions to include Azure OpenAI support and dynamic selection processes. |
helpers/python.ts | Enhances getAdditionalDependencies to include Azure-specific dependencies for improved functionality. |
helpers/types.ts | Expands ModelProvider type to include "azure-openai", allowing for broader model integration options. |
templates/components/settings/python/settings.py | Modifies init_azure_openai function for streamlined Azure configuration management, merging settings into a centralized structure. |
templates/types/streaming/express/src/controllers/engine/settings.ts, templates/types/streaming/nextjs/app/api/chat/engine/settings.ts | Adds initAzureOpenAI function to configure Azure settings, integrating Azure initialization into existing setup processes. |
sequenceDiagram
participant User
participant AzureConfig
participant ModelAPI
User->>AzureConfig: Request Azure model setup
AzureConfig->>User: Prompt for API Key & Model selection
User->>AzureConfig: Provide API Key & select model
AzureConfig->>ModelAPI: Initialize Azure model with provided settings
ModelAPI-->>AzureConfig: Confirm model setup
AzureConfig-->>User: Azure model is ready for use
π° In the garden, where the data flows,
A new friend named Azure, everybody knows.
With models so bright, they leap and they play,
Enhancing our tools in a magical way!
So hop aboard, let the coding commence,
With Azure in hand, we'll leap over the fence! πΌβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation