Closed kczornik closed 3 years ago
With this we'd have three ways of providing the configuration: via code, via config.json, via env variables.
It would be nice to have all these options available within the AzureConfiguration
type, so something like:
config = new AzureConfiguration { ... };
config = AzureConfiguration.FromEnvironmentVariables();
config = AzureConfiguration.FromFile(/*optional config.json path*/);
It would be somewhat similar to the SpeechConfig type from the Azure SDK (FromEndpoint
, FromSubscription
, ...).
cc @artiso-solutions/team-rainbow
Closes #43