You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The most useful namespaces and dependencies for developing Microsoft.Extensions.AI-
30
30
> powered applications are automatically referenced and imported when using this package.
31
31
32
+
## Configuration / Environment Variables
33
+
34
+
The `Env` class provides access to the following variables/configuration automatically:
35
+
36
+
*`.env` files: in local and parent directories
37
+
*`~/.env` file: in the user's home directory (`%userprofile%\.env` on Windows)
38
+
* All default configuration sources from [App Builder](https://learn.microsoft.com/en-us/dotnet/core/extensions/generic-host?tabs=appbuilder#host-builder-settings):
39
+
* Environment variables prefixed with DOTNET_.
40
+
* Command-line arguments.
41
+
* appsettings.json.
42
+
* appsettings.{Environment}.json.
43
+
* Secret Manager when the app runs in the Development environment.
44
+
* Environment variables.
45
+
* Command-line arguments.
46
+
32
47
<!-- #content -->
33
48
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
0 commit comments