Node - #condition#description
- For Xmind ChatTree, the first line of the node content must be "#condition#description", and then the content of the second line is a single line of natural language text describing the condition that can be judged to be true or false, such as:
#Condition#description
... - For Python ChatTree, the first parameter of chattree.create_node() must be "#condition#description", the key in the second parameter dict is "description", and the value is a single line of natural language text (str type) describing a condition that can be judged to be true or false, such as:
xxx_node = chattree.create_node("#condition#description", {"description": "..."}) - The above "description" is a single line of natural language text that can be used to determine whether the condition is true or false. The system will call LLM to determine the condition description (note that this will cause additional delays). Only when the result is positive, the node after the node will be executed, otherwise it will not be executed.
- The description text can refer to InfoItems (if there is a string like "...{...}..." in the content, the system will replace the "{...}" with the string value of the corresponding InfoItem during execution). It is best to use single quotes or square brackets, such as:
[{lawyer_region}] belongs to DC–Maryland–Virginia'{things_that_require_help}' are not within the scope of the 911 emergency call - If you are not judging the content of a specific InfoItem, you can quote the "chat record", such as:
The arrears of property fees mentioned in the 'chat record' exceed 10 million - The description text should be simple and direct, do not use overly complex clauses or reference relationships, and should be concrete and judgeable to avoid vague and abstract descriptions. For example, "the situation is serious" is too vague. It is best to include relevant specific judgment criteria, such as:
- "As the destination of the 911 ambulance, '{specific_location_caller_is_currently_located}' is not specific enough (as long as one of the house number or reference is specific enough)"
- "'{specific_injury_or_illness_or_physical_condition}' does not clearly describe the patient's pain level, state of consciousness, extent of trauma, and duration of symptoms, etc." So that LLM can make more accurate judgments
- "911" ChatTree example in "ChatTree Examples" has this node