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

堆疊上對話框的追蹤資訊。

取得或設定對話框的標識符,並取得或設定實例的保存狀態。

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 驗證程式:選擇性地提供額外的驗證和重新提示邏輯:類型驗證程式: 物件

PromptOptions

包含設定,以在啟動提示時傳遞至 Prompt 物件。

將傳送給使用者的初始提示設定為 Activity

PromptRecognizerResult

建立提示辨識器函式所傳回的結果。

PromptValidatorContext

建立傳遞至自定義 PromptValidator的內容資訊。 :p aram turn_context:目前與使用者交談回合的內容。 :p aram 辨識:從提示辨識器函式傳回的結果。 :p aram 狀態:提示作用中時,針對每個交談回合保留值的字典。 :p aram 選項:呼叫對話框傳遞給提示的原始選項集。

TextPrompt

建立新的 Prompt 實例。

ComponentDialog :type dialog_id: str :p aram 驗證程式:選擇性地提供額外的驗證和重新提示邏輯:類型驗證程式: 物件

WaterfallDialog
WaterfallStepContext

列舉

DialogEvents
DialogReason

指出正在呼叫對話相關方法。

DialogTurnStatus

指出正在呼叫對話相關方法。