Språk

AdaptiveDialogBot Konstruktor

Definition

Initierar en ny instans av AdaptiveDialogBot klassen.

public AdaptiveDialogBot(string adaptiveDialogId, string languageGeneratorId, Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer resourceExplorer, Microsoft.Bot.Builder.ConversationState conversationState, Microsoft.Bot.Builder.UserState userState, Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase skillConversationIdFactoryBase, Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy languagePolicy, Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication botFrameworkAuthentication, Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope> scopes = default, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Memory.IPathResolver> pathResolvers = default, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Dialogs.Dialog> dialogs = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Dialogs.Adaptive.AdaptiveDialogBot : string * string * Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer * Microsoft.Bot.Builder.ConversationState * Microsoft.Bot.Builder.UserState * Microsoft.Bot.Builder.Skills.SkillConversationIdFactoryBase * Microsoft.Bot.Builder.Dialogs.Adaptive.LanguagePolicy * Microsoft.Bot.Connector.Authentication.BotFrameworkAuthentication * Microsoft.Bot.Builder.IBotTelemetryClient * seq<Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope> * seq<Microsoft.Bot.Builder.Dialogs.Memory.IPathResolver> * seq<Microsoft.Bot.Builder.Dialogs.Dialog> * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Dialogs.Adaptive.AdaptiveDialogBot
Public Sub New (adaptiveDialogId As String, languageGeneratorId As String, resourceExplorer As ResourceExplorer, conversationState As ConversationState, userState As UserState, skillConversationIdFactoryBase As SkillConversationIdFactoryBase, languagePolicy As LanguagePolicy, botFrameworkAuthentication As BotFrameworkAuthentication, telemetryClient As IBotTelemetryClient, Optional scopes As IEnumerable(Of MemoryScope) = Nothing, Optional pathResolvers As IEnumerable(Of IPathResolver) = Nothing, Optional dialogs As IEnumerable(Of Dialog) = Nothing, Optional logger As ILogger = Nothing)

Parametrar

adaptiveDialogId
String

ID:t för AdaptiveDialog att ladda från .ResourceExplorer

languageGeneratorId
String

ID:t för LanguageGenerator att ladda från .ResourceExplorer

resourceExplorer
ResourceExplorer

Bot Builder ResourceExplorer för att ladda från Dialog .

conversationState
ConversationState

En ConversationState implementering.

userState
UserState

En UserState implementering.

skillConversationIdFactoryBase
SkillConversationIdFactoryBase

En SkillConversationIdFactoryBase implementering.

languagePolicy
LanguagePolicy

A LanguagePolicy att använda.

botFrameworkAuthentication
BotFrameworkAuthentication

En BotFrameworkAuthentication använde för att få en kund att ringa Bot Builder Skills.

telemetryClient
IBotTelemetryClient

En IBotTelemetryClient användes för att logga bot-telemetrihändelser.

scopes
IEnumerable<MemoryScope>

Anpassade MemoryScope implementationer som utökar minnessystemet.

pathResolvers
IEnumerable<IPathResolver>

Anpassade IPathResolver som lägger till nya resolvers path-genvägar till minnesscopes.

dialogs
IEnumerable<Dialog>

Anpassad Dialog som kommer att läggas till i root-DialogSet.

logger
ILogger

En ILogger instans.

Gäller för