Jaa


LuisExtensions.UseLuisSettings(IConfigurationBuilder) Method

Definition

Setup configuration to utilize the settings file generated by bf luis:build.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder UseLuisSettings (this Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
static member UseLuisSettings : Microsoft.Extensions.Configuration.IConfigurationBuilder -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function UseLuisSettings (builder As IConfigurationBuilder) As IConfigurationBuilder

Parameters

builder
IConfigurationBuilder

Configuration builder to modify.

Returns

Modified configuration builder.

Remarks

This will pick up LUIS_AUTHORING_REGION or --region settings as the setting to target. This will pick up --environment as the environment to target. If environment is Development it will use the name of the logged in user. This will pick up --root as the root folder to run in.

Applies to