We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. There are two main issues with the current configuration management:
Describe the solution you'd like
I propose two possible improvements:
ex1) Unified Azure OpenAI Configuration:
{ "AZURE_OPENAI": { "API_VERSION": "2024-08-01-preview", "ENDPOINT": "your-endpoint", "API_KEY": "your-api-key" "EMBEDDING": "azure_openai:embedding-3-large" }, "RETRIEVER": "tavily", }
ex2) Type-safe Functional Configuration Approach:
@dataclass class AzureOpenAIConfig: api_version: str endpoint: str api_key: str @dataclass class AppConfig: azure_openai: AzureOpenAIConfig retriever: str embedding: str # ... other settings def configure_app(config: AppConfig) -> None: pass
Describe alternatives you've considered
Additional context
Benefits of the functional approach:
The text was updated successfully, but these errors were encountered:
Welcome @DAAE-Na-Yunchae
Sounds interesting
Happy to see the PR for what you have in mind
Also looping in @kga245 who laid the groundwork for the JSON config files & @danieldekay who's been polishing the Azure OpenAI support as we go
Sorry, something went wrong.
No branches or pull requests
Provider Configuration Enhancement
Is your feature request related to a problem? Please describe.
There are two main issues with the current configuration management:
Describe the solution you'd like
I propose two possible improvements:
ex1) Unified Azure OpenAI Configuration:
ex2) Type-safe Functional Configuration Approach:
Describe alternatives you've considered
Additional context
Benefits of the functional approach:
The text was updated successfully, but these errors were encountered: