Skip to content

ConversationChatGraphNode ​

Inherits: GraphNode

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

Variables ​

ConversationChatchat_data
Conversationconversation
Stringcurrent_language""
DialogManagerdialog_manager
Dictionaryresponse_slot_entries{}

Methods ​

voidset_dialog_manager( p_dialog_manager: DialogManager )
voidsetup_with_chat( chat: ConversationChat, conv: Conversation, language: String )
voidupdate_language( language: String )
intget_chat_id()
voidupdate_response_display( slot_idx: int )

Signals ​

response_slot_added( slot_idx: int ) ​

response_slot_removed( slot_idx: int ) ​

chat_data_changed() ​

Constants ​

  • const SLOT_TEXT_EDIT_LABEL = 0
  • const FIRST_RESPONSE_SLOT = 6
  • const PORT_TYPE_CHAT_INPUT = 0
  • const PORT_TYPE_RESPONSE_FLOW = 1

Variable descriptions ​

ConversationChat chat_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 response_slot_entries = ​

No description yet.

Method descriptions ​

void set_dialog_manager( p_dialog_manager: DialogManager ) ​

No description yet.

void setup_with_chat( chat: ConversationChat, conv: Conversation, language: String ) ​

No description yet.

void update_language( language: String ) ​

No description yet.

int get_chat_id() ​

No description yet.

void update_response_display( slot_idx: int ) ​

No description yet.