Skip to main content

Chat Test and Log Information

  • In the backend manangement UI, select a ChatTree and click the "ChatTest" button in the page
  • A window will pop up that requires input of InfoItem parameters (referring to the InfoItems defined by the "startup_infoitem" attribute in "Node - #start#"). The input format is such as "{...}=...|{...}=...|{...}=...". If there is no "startup_infoitem", do not enter it, and then click "confirm".
  • In the displayed dialog window:
    • On the left is the chat record
    • The right side is the system execution trace information (i.e. log information / can also be obtained through the "Get Execution Trace" interface in "API") after each round of dialogue:
      • <UserInputOfThisTurn>
      • <ActiveNodeBeforeThisTurn>
      • <InfoitemValuesBeforeThisTurn>
      • <ExecutedNodeListInThisTurn>
      • <ActiveNodeAfterThisTurn>
      • <InfoitemsAttemptedToBeExtractedInThisTurn>
      • <ScriptDebugInfoInThisTurn>
      • <InfoitemValuesAfterThisTurn>
      • <ActiveTopicAfterThisTurn>
      • <ActiveTriggerAfterThisTurn>
      • <ActiveChatTreeAfterThisTurn>
      • <ChatRecord>
      • <ThisTurnServerTTFT>
    • Below is the dialogue input box. You can enter one line and press Enter to send a text dialogue message. You can also enter (or paste) multiple lines at a time and press Enter to send a line of text dialogue message at a time.