dialogs パッケージ

パッケージ

choices
memory
prompts
skills

モジュール

about
component_dialog
dialog
dialog_container
dialog_context
dialog_event
dialog_events
dialog_extensions
dialog_instance
dialog_manager
dialog_manager_result
dialog_reason
dialog_set
dialog_state
dialog_turn_result
dialog_turn_status
dialogs_component_registration
object_path
persisted_state
persisted_state_keys
waterfall_dialog
waterfall_step
waterfall_step_context

クラス

ComponentDialog

他のダイアログで構成される Dialog

ComponentDialog の新しいインスタンスを初期化します。

ConfirmPrompt
DateTimePrompt
DateTimeResolution
Dialog
DialogContainer
DialogContext
DialogEvent
DialogExtensions
DialogInstance

スタック上のダイアログの追跡情報。

ダイアログの ID を取得または設定し、インスタンスの永続化された状態を取得または設定します。

DialogManager

ダイアログ システムを実行するクラス。

クラスのインスタンスを初期化します。 :p aram root_dialog: 使用するルート ダイアログ。 :p aram dialog_state_property: dialog_state プロパティの代替名。 (既定値は "DialogState" です)。

DialogManagerResult
DialogSet
DialogState

ダイアログ スタックの状態情報を格納します。

DialogState クラスの新しいインスタンスを初期化します。

DialogTurnResult

さまざまなスタック操作メソッドの呼び出し元に返される結果。

DialogsComponentRegistration
NumberPrompt
OAuthPrompt

OAuthPrompt クラスの新しいインスタンスを作成します。

OAuthPromptSettings

OAuthPrompt インスタンスの構成に使用される設定。 パラメーター: connection_name (str): 使用されている OAuth 接続の名前。 title (str): カードのサインイン ボタンのタイトル。 text (str): (省略可能) サインイン カードに含まれる追加のテキスト。 timeout (int): (省略可能) ユーザーが認証されるまでプロンプトが待機するミリ秒数。

     *OAuthPrompt* defaults value to *900,000* ms (15 minutes).

  oauth_app_credentials (AppCredentials): (Optional) AppCredentials to use for OAuth.  If None,
  the Bots credentials are used.
  end_on_invalid_message (bool): (Optional) value indicating whether the OAuthPrompt should end upon
  receiving an invalid message.  Generally the OAuthPrompt will ignore incoming messages from the
  user during the auth flow, if they are not related to the auth flow.  This flag enables ending the
  OAuthPrompt rather than ignoring the user's message.  Typically, this flag will be set to 'true',
  but is 'false' by default for backwards compatibility.
ObjectPath

json オブジェクトを操作するためのヘルパー メソッド。

PersistedState
PersistedStateKeys
Prompt

プロンプト ダイアログの主要な動作を定義します。 Dialog 基底クラスを拡張します。

新しい Prompt インスタンスを作成します。

ComponentDialog :type dialog_id: str :p aram validator: 必要に応じて、追加の検証と再プロンプト ロジックを提供します:type validator: Object

PromptOptions

プロンプトの起動時に Prompt オブジェクトに渡す設定が含まれます。

ユーザーに Activityとして送信する初期プロンプトを設定します。

PromptRecognizerResult

プロンプト認識エンジン関数によって返される結果を作成します。

PromptValidatorContext

カスタム PromptValidatorに渡されるコンテキスト情報を作成します。 :p aram turn_context: ユーザーとの会話の現在のターンのコンテキスト。 :p aram recognized: prompts recognizer 関数から返された結果。 :p状態: プロンプトがアクティブな間、会話のターンごとに保持される値のディクショナリ。 :pオプション: 呼び出し元のダイアログによってプロンプトに渡されたオプションの元のセット。

TextPrompt

新しい Prompt インスタンスを作成します。

ComponentDialog :type dialog_id: str :p aram validator: 必要に応じて、追加の検証と再プロンプト ロジックを提供します:type validator: Object

WaterfallDialog
WaterfallStepContext

列挙型

DialogEvents
DialogReason

ダイアログ関連のメソッドが呼び出される位置を示します。

DialogTurnStatus

ダイアログ関連のメソッドが呼び出される位置を示します。