Skip to content

ConversationResponseGraphNode ​

Inherits: GraphNode

GraphNode representation of a ConversationResponse Uses DialogManager.setup_dialog() for guaranteed clean connections

Variables ​

ConversationResponseresponse_data
Conversationconversation
Stringcurrent_language""
DialogManagerdialog_manager
Dictionaryaction_entries{}

Methods ​

voidset_dialog_manager( p_dialog_manager: DialogManager )
voidsetup_with_response( response: ConversationResponse, language: String, p_conversation: Conversation = null )
voidupdate_language( language: String )
intget_response_id()

Signals ​

response_data_changed() ​

action_added( action_idx: int ) ​

action_removed( action_idx: int ) ​

Constants ​

  • const SLOT_DISPLAY_NAME = 0
  • const FIRST_ACTION_SLOT = 7
  • const PORT_TYPE_RESPONSE_INPUT = 1
  • const PORT_TYPE_PROCEED_ACTION = 0
  • const PORT_TYPE_ACTION_OUTPUT = 2

Variable descriptions ​

ConversationResponse response_data ​

No description yet.

Conversation conversation ​

No description yet.

String current_language = "" ​

The language the node shows and edits: the code of a language, "" or the source language = the text stored in the conversation, another language = its translation in the tables

DialogManager dialog_manager ​

No description yet.

Dictionary action_entries = ​

No description yet.

Method descriptions ​

void set_dialog_manager( p_dialog_manager: DialogManager ) ​

No description yet.

void setup_with_response( response: ConversationResponse, language: String, p_conversation: Conversation = null ) ​

No description yet.

void update_language( language: String ) ​

No description yet.

int get_response_id() ​

No description yet.