Compartir a través de


AdaptiveDialogBot Constructor

Definición

Inicializa una nueva instancia de la clase AdaptiveDialogBot.

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)

Parámetros

adaptiveDialogId
String

Identificador de que AdaptiveDialog se va a cargar desde .ResourceExplorer

languageGeneratorId
String

Identificador de que LanguageGenerator se va a cargar desde .ResourceExplorer

resourceExplorer
ResourceExplorer

Bot Builder ResourceExplorer desde el Dialog que se va a cargar.

conversationState
ConversationState

Una ConversationState implementación.

userState
UserState

Una UserState implementación.

skillConversationIdFactoryBase
SkillConversationIdFactoryBase

Una SkillConversationIdFactoryBase implementación.

languagePolicy
LanguagePolicy

que LanguagePolicy se va a usar.

botFrameworkAuthentication
BotFrameworkAuthentication

que BotFrameworkAuthentication se usa para obtener un cliente para realizar llamadas a Bot Builder Skills.

telemetryClient
IBotTelemetryClient

que IBotTelemetryClient se usa para registrar eventos de telemetría del bot.

scopes
IEnumerable<MemoryScope>

Implementaciones personalizadas MemoryScope que extienden el sistema de memoria.

pathResolvers
IEnumerable<IPathResolver>

Personalizado IPathResolver que agrega nuevos accesos directos de ruta de resolución a ámbitos de memoria.

dialogs
IEnumerable<Dialog>

Personalizado Dialog que se agregará a la raíz DialogSet.

logger
ILogger

Instancia de ILogger.

Se aplica a