[3798b7]: / SugarSafe - 2024 Jun 30.bpz

Download this file

2312 lines (2312 with data), 98.2 kB

PK
›ÞX=£Ä3~3~bot.json{
  "version": "1.11",
  "settings": {
    "defaultLanguage": "en",
    "languages": [
      "en"
    ],
    "description": "",
    "id": "308f960c-95e7-4cc1-aa6a-f1c653965b80",
    "inactivityTimeout": 30,
    "botVariables": [],
    "userVariables": [],
    "nodeRepetitionLimit": 3,
    "configVariables": {},
    "cognitiveConfigs": {
      "openAi": {}
    }
  },
  "flows": [
    {
      "id": "wf-error",
      "name": "Error",
      "startNode": "nd-98dc0bcc87",
      "variables": [],
      "links": [
        {
          "id": "edg-1cb5862648",
          "source": "nd-98dc0bcc87",
          "sourcePort": "trs-02c7129430",
          "target": "nd-58fca56e01"
        },
        {
          "id": "edg-1c28c96d6a",
          "source": "nd-58fca56e01",
          "sourcePort": "nd-58fca56e01",
          "target": "nd-e05f59dd66"
        }
      ],
      "nodes": [
        {
          "comment": "<p><strong><span style=\"font-size: 18px\">⛔️ When something goes wrong</span></strong></p><p><br>This workflow is executed when there's an <strong>unexpected error</strong> in one of the other workflows.</p><p></p><p>You can use this to inform the user of the situation before ending the conversation.</p>",
          "type": "comment",
          "id": "nd-8ff3d7d295",
          "name": "Comment1",
          "deletable": true,
          "instructions": [],
          "height": 148,
          "width": 401,
          "x": 90,
          "y": -45
        },
        {
          "instructions": [
            {
              "id": "ins-2762f70004",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "staticValue": "Sorry, an error occurred. Please try again later",
                  "dynamicValue": "",
                  "valueType": "static"
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-58fca56e01",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-e05f59dd66"
          },
          "type": "standard",
          "id": "nd-58fca56e01",
          "name": "Handler",
          "deletable": true,
          "x": 450,
          "y": 120
        },
        {
          "id": "nd-98dc0bcc87",
          "name": "On_Error",
          "type": "entry",
          "deletable": false,
          "variables": [],
          "instructions": [
            {
              "id": "trs-02c7129430",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "nd-58fca56e01"
              },
              "transitions": []
            }
          ],
          "x": 90,
          "y": 120
        },
        {
          "id": "nd-e05f59dd66",
          "name": "End",
          "type": "end",
          "variables": [],
          "deletable": false,
          "instructions": [
            {
              "id": "trs-945140a646",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "END"
              },
              "transitions": []
            }
          ],
          "x": 810,
          "y": 120
        }
      ]
    },
    {
      "id": "wf-timeout",
      "name": "Timeout",
      "startNode": "nd-9f7f3268ac",
      "variables": [],
      "links": [
        {
          "id": "edg-b0d2adcd13",
          "source": "nd-e6c012a652",
          "sourcePort": "nd-e6c012a652",
          "target": "nd-199fdcf439"
        },
        {
          "id": "edg-6d17a0591b",
          "source": "nd-9f7f3268ac",
          "sourcePort": "trs-0c7a9a0003",
          "target": "nd-e6c012a652"
        }
      ],
      "nodes": [
        {
          "instructions": [],
          "defaultTransition": {
            "targetNodeId": "nd-199fdcf439"
          },
          "type": "standard",
          "id": "nd-e6c012a652",
          "name": "Handler",
          "deletable": true,
          "x": 435,
          "y": 105
        },
        {
          "comment": "<p><strong><span style=\"font-size: 18px\">⌛️ When conversation times out</span></strong></p><p><br>This workflow is executed when the conversation <strong>times out</strong> before it had time to flow to an <strong>End Node</strong>.</p><p></p><p>The <strong>Timeout Delay</strong> is configurable in the <strong>Chatbot Settings.</strong></p><p></p><p>You can use this to inform the user of the situation before ending the conversation.</p>",
          "type": "comment",
          "id": "nd-441efa6c42",
          "name": "Comment1",
          "deletable": true,
          "instructions": [],
          "height": 173,
          "width": 401,
          "x": 105,
          "y": -90
        },
        {
          "id": "nd-9f7f3268ac",
          "name": "On_Timeout",
          "type": "entry",
          "deletable": false,
          "variables": [],
          "instructions": [
            {
              "id": "trs-0c7a9a0003",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "nd-e6c012a652"
              },
              "transitions": []
            }
          ],
          "x": 100,
          "y": 100
        },
        {
          "id": "nd-199fdcf439",
          "name": "End",
          "type": "end",
          "variables": [],
          "deletable": false,
          "instructions": [
            {
              "id": "trs-bf76943d55",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "END"
              },
              "transitions": []
            }
          ],
          "x": 795,
          "y": 105
        }
      ]
    },
    {
      "id": "wf-conversation-end",
      "name": "Conversation End",
      "startNode": "nd-c0d3bd2c92",
      "variables": [],
      "links": [
        {
          "id": "edg-3cb8028ff6",
          "source": "nd-c0d3bd2c92",
          "sourcePort": "trs-92c6f93b0c",
          "target": "nd-2db7499cc6"
        },
        {
          "id": "edg-8a88f687a0",
          "source": "nd-2db7499cc6",
          "sourcePort": "nd-2db7499cc6",
          "target": "nd-d0c2a6be81"
        }
      ],
      "nodes": [
        {
          "instructions": [],
          "defaultTransition": {
            "targetNodeId": "nd-d0c2a6be81"
          },
          "type": "standard",
          "id": "nd-2db7499cc6",
          "name": "Handler",
          "deletable": true,
          "x": 420,
          "y": 105
        },
        {
          "comment": "<p><strong><span style=\"font-size: 18px\">👋 Before Conversation Ends</span></strong></p><p><br>This workflow is executed when right before the conversation <strong>Ends Explicitly.</strong></p><p></p><p>An <strong>Explicit Ending</strong> happens when a workflow transitions on an <strong>End Node</strong>.</p>",
          "type": "comment",
          "id": "nd-6d5d3f41dd",
          "name": "Comment1",
          "deletable": true,
          "instructions": [],
          "height": 148,
          "width": 461,
          "x": 105,
          "y": -45
        },
        {
          "id": "nd-c0d3bd2c92",
          "name": "On_Explicit_Ending",
          "type": "entry",
          "deletable": false,
          "variables": [],
          "instructions": [
            {
              "id": "trs-92c6f93b0c",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "nd-2db7499cc6"
              },
              "transitions": [],
              "nodeId": "nd-c0d3bd2c92"
            }
          ],
          "x": 100,
          "y": 100
        },
        {
          "id": "nd-d0c2a6be81",
          "name": "End",
          "type": "end",
          "variables": [],
          "deletable": false,
          "instructions": [
            {
              "id": "trs-7004dbb2b6",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "END"
              },
              "transitions": [],
              "nodeId": "nd-d0c2a6be81"
            }
          ],
          "x": 780,
          "y": 105
        }
      ]
    },
    {
      "topicId": "tpc-global",
      "id": "wf-main",
      "name": "Main",
      "startNode": "nd-2bb9db230d",
      "variables": [],
      "links": [],
      "nodes": [
        {
          "id": "nd-2bb9db230d",
          "name": "Start",
          "type": "start",
          "deletable": false,
          "instructions": [
            {
              "id": "trs-8b0779edc5",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "nd-ed6b23a6c8"
              },
              "transitions": [],
              "nodeId": "nd-2bb9db230d"
            }
          ],
          "x": -585,
          "y": -1110,
          "kbPriority": {
            "enabled": true,
            "searchScope": "specific",
            "kbs": [
              "kb-2f0a7ea639"
            ]
          }
        },
        {
          "id": "nd-80ac4ff158",
          "name": "End",
          "type": "end",
          "deletable": false,
          "instructions": [
            {
              "id": "trs-0260f5e672",
              "type": "transition",
              "condition": {
                "type": "expression",
                "payload": "true"
              },
              "destination": {
                "node": "END"
              },
              "transitions": [],
              "nodeId": "nd-80ac4ff158"
            }
          ],
          "x": 540,
          "y": -240
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": -1080,
          "instructions": [
            {
              "id": "ins-c70bd572a3",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Hello! Welcome to the Diabetes Risk Assessment Tool. ",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-ed6b23a6c8",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-4a2111a29e"
          },
          "id": "nd-ed6b23a6c8",
          "name": "Standard1"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -405,
          "y": -870,
          "instructions": [
            {
              "id": "ins-5f87631541",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Multiple Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-4a2111a29e",
              "question": {
                "staticValue": "",
                "dynamicValue": "How can I help you today?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "I want to know my risk for diabetes.",
                        "staticValue": null
                      },
                      "value": "I want to know my risk for diabetes.",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Tips on how to reduce risk of diabetes.",
                        "staticValue": null
                      },
                      "value": "Tips on how to reduce risk of diabetes.",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-d8baa25b03",
                  "type": "transition",
                  "label": "I want to know my risk for diabetes.",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=I want to know my risk for diabetes."
                  },
                  "destination": {
                    "node": "nd-59aad734b3"
                  }
                },
                {
                  "id": "trs-958697e6c3",
                  "type": "transition",
                  "label": "Tips on how to reduce risk of diabetes.",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Tips on how to reduce risk of diabetes."
                  },
                  "destination": {
                    "node": "nd-004fcec449"
                  }
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": null
          },
          "id": "nd-4a2111a29e",
          "name": "Standard2"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": -615,
          "instructions": [
            {
              "id": "ins-97029334fe",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Great! To provide you with the most accurate assessment, I'll need to ask you a few questions. Let's start with some basic information.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-59aad734b3",
              "transitions": []
            },
            {
              "id": "ins-5471eeb850",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-59aad734b3",
              "question": {
                "staticValue": "",
                "dynamicValue": "What is your age?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Under 30: Low risk",
                        "staticValue": null
                      },
                      "value": "Under 30: Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "30-39: Moderate risk",
                        "staticValue": null
                      },
                      "value": "30-39: Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "40-49: Increased risk",
                        "staticValue": null
                      },
                      "value": "40-49: Increased risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "50 & above: High risk",
                        "staticValue": null
                      },
                      "value": "50 & above: High risk",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-8840501862",
                  "type": "transition",
                  "label": "Under 30: Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Under 30: Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-9ef0cc5cd7",
                  "type": "transition",
                  "label": "30-39: Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=30-39: Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-8ea79ef401",
                  "type": "transition",
                  "label": "40-49: Increased risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=40-49: Increased risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-10d2473b44",
                  "type": "transition",
                  "label": "50 & above: High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=50 & above: High risk"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-a4b29d3372"
          },
          "id": "nd-59aad734b3",
          "name": "Standard3"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": -300,
          "instructions": [
            {
              "id": "ins-8e5a72b883",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-a4b29d3372",
              "question": {
                "valueType": "dynamic",
                "dynamicValue": "Thank you! What is your gender?",
                "staticValue": ""
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Male ",
                        "staticValue": null
                      },
                      "value": "Male ",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Female",
                        "staticValue": null
                      },
                      "value": "Female",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Others",
                        "staticValue": null
                      },
                      "value": "Others",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-ec302a5ad3",
                  "type": "transition",
                  "label": "Male ",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Male "
                  },
                  "destination": {}
                },
                {
                  "id": "trs-bd5c4c1d27",
                  "type": "transition",
                  "label": "Female",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Female"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-52391952d7",
                  "type": "transition",
                  "label": "Others",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Others"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-674ea56e61"
          },
          "id": "nd-a4b29d3372",
          "name": "Standard4"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": -45,
          "instructions": [
            {
              "id": "ins-4d1454fb70",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-674ea56e61",
              "question": {
                "staticValue": "",
                "dynamicValue": "Got it. Now, let's move on to some health-related questions. What is your current BMI?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Underweight (BMI < 18.5): Low risk",
                        "staticValue": null
                      },
                      "value": "Underweight (BMI < 18.5): Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Normal weight (BMI 18.5-24.9): Low risk",
                        "staticValue": null
                      },
                      "value": "Normal weight (BMI 18.5-24.9): Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Overweight (BMI 25-29.9): Moderate risk",
                        "staticValue": null
                      },
                      "value": "Overweight (BMI 25-29.9): Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Obese (BMI 30 & above): High risk",
                        "staticValue": null
                      },
                      "value": "Obese (BMI 30 & above): High risk",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-30d3ecfa91",
                  "type": "transition",
                  "label": "Underweight (BMI < 18.5): Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Underweight (BMI < 18.5): Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-18285b4fb2",
                  "type": "transition",
                  "label": "Normal weight (BMI 18.5-24.9): Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Normal weight (BMI 18.5-24.9): Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-ff46b7756c",
                  "type": "transition",
                  "label": "Overweight (BMI 25-29.9): Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Overweight (BMI 25-29.9): Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-b9ab54c075",
                  "type": "transition",
                  "label": "Obese (BMI 30 & above): High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Obese (BMI 30 & above): High risk"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-5b52fb4eec"
          },
          "id": "nd-674ea56e61",
          "name": "Standard5"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": 240,
          "instructions": [
            {
              "id": "ins-ddfb6062db",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-5b52fb4eec",
              "question": {
                "staticValue": "",
                "dynamicValue": "Thank you! Do you have a family history of diabetes?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "No family history of diabetes: Low risk",
                        "staticValue": null
                      },
                      "value": "No family history of diabetes: Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "One immediate family member with diabetes: Moderate risk",
                        "staticValue": null
                      },
                      "value": "One immediate family member with diabetes: Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Multiple immediate family members with diabetes: High risk",
                        "staticValue": null
                      },
                      "value": "Multiple immediate family members with diabetes: High risk",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-8919de629e",
                  "type": "transition",
                  "label": "No family history of diabetes: Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=No family history of diabetes: Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-1777e0da43",
                  "type": "transition",
                  "label": "One immediate family member with diabetes: Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=One immediate family member with diabetes: Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-5ccf7c037d",
                  "type": "transition",
                  "label": "Multiple immediate family members with diabetes: High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Multiple immediate family members with diabetes: High risk"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-c5b778ebd5"
          },
          "id": "nd-5b52fb4eec",
          "name": "Standard6"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": 465,
          "instructions": [
            {
              "id": "ins-9619d88525",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-c5b778ebd5",
              "question": {
                "staticValue": "",
                "dynamicValue": "Do you lead a physically active lifestyle?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Physically active: Low risk",
                        "staticValue": null
                      },
                      "value": "Physically active: Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Some physical activity: Moderate risk",
                        "staticValue": null
                      },
                      "value": "Some physical activity: Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Sedentary lifestyle: High risk",
                        "staticValue": null
                      },
                      "value": "Sedentary lifestyle: High risk",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-3f92c9095f",
                  "type": "transition",
                  "label": "Physically active: Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Physically active: Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-226db7a6af",
                  "type": "transition",
                  "label": "Some physical activity: Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Some physical activity: Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-16c374ed4b",
                  "type": "transition",
                  "label": "Sedentary lifestyle: High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Sedentary lifestyle: High risk"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-dc136fcbb6"
          },
          "id": "nd-c5b778ebd5",
          "name": "Standard7"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -420,
          "y": 705,
          "instructions": [
            {
              "id": "ins-2dd1243ed3",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-dc136fcbb6",
              "question": {
                "staticValue": "",
                "dynamicValue": "What is your typical diet like?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Balanced diet: Low risk",
                        "staticValue": null
                      },
                      "value": "Balanced diet: Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "High in sugar and fats: High risk",
                        "staticValue": null
                      },
                      "value": "High in sugar and fats: High risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Low in carbs: Moderate risk",
                        "staticValue": null
                      },
                      "value": "Low in carbs: Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Other",
                        "staticValue": null
                      },
                      "value": "Other",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-b5bc476209",
                  "type": "transition",
                  "label": "Balanced diet: Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Balanced diet: Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-0e621ff966",
                  "type": "transition",
                  "label": "High in sugar and fats: High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=High in sugar and fats: High risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-7ff7153130",
                  "type": "transition",
                  "label": "Low in carbs: Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Low in carbs: Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-7c0c9d6cb9",
                  "type": "transition",
                  "label": "Other",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Other"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-0bb6fa2a3a"
          },
          "id": "nd-dc136fcbb6",
          "name": "Standard8"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -435,
          "y": 990,
          "instructions": [
            {
              "id": "ins-abd261bb35",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-0bb6fa2a3a",
              "question": {
                "valueType": "dynamic",
                "dynamicValue": "Any existing health conditions?",
                "staticValue": ""
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "No high blood pressure or cholesterol: Low risk",
                        "staticValue": null
                      },
                      "value": "No high blood pressure or cholesterol: Low risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Occasional high blood pressure or cholesterol: Moderate risk",
                        "staticValue": null
                      },
                      "value": "Occasional high blood pressure or cholesterol: Moderate risk",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Chronic high blood pressure or cholesterol: High risk",
                        "staticValue": null
                      },
                      "value": "Chronic high blood pressure or cholesterol: High risk",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-2ee6a05d95",
                  "type": "transition",
                  "label": "No high blood pressure or cholesterol: Low risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=No high blood pressure or cholesterol: Low risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-f9a5276d4b",
                  "type": "transition",
                  "label": "Occasional high blood pressure or cholesterol: Moderate risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Occasional high blood pressure or cholesterol: Moderate risk"
                  },
                  "destination": {}
                },
                {
                  "id": "trs-4159e9fbaf",
                  "type": "transition",
                  "label": "Chronic high blood pressure or cholesterol: High risk",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Chronic high blood pressure or cholesterol: High risk"
                  },
                  "destination": {}
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-a49fc752f7"
          },
          "id": "nd-0bb6fa2a3a",
          "name": "Standard9"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -45,
          "y": -1050,
          "instructions": [
            {
              "id": "ins-709625ac45",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "High risk factors include:\n\n- Being overweight\n- Lack of physical activity\n- Unhealthy diet high in sugar and fats\n- Family history of diabetes\n- High blood pressure or cholesterol",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-718c132c81",
              "transitions": []
            },
            {
              "id": "ins-c2d83d0f84",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Moderate risk factors might involve:\n\n- Slightly higher body weight\n- Some physical inactivity\n- Occasionally poor diet choices",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-718c132c81",
              "transitions": []
            },
            {
              "id": "ins-c1f884748d",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Low risk:\n\n- Maintaining a normal weight\n- Regular physical activity\n- Balanced diet\n- No family history of diabetes\n- Normal blood pressure and cholesterol levels",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-718c132c81",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-f7fb76b2da"
          },
          "id": "nd-718c132c81",
          "name": "Standard11"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -45,
          "y": -1230,
          "instructions": [
            {
              "id": "ins-eef3d44694",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Thank you for providing all the information.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-a49fc752f7",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-718c132c81"
          },
          "id": "nd-a49fc752f7",
          "name": "Standard10"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -45,
          "y": -810,
          "instructions": [
            {
              "id": "ins-78e1533c0d",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-f7fb76b2da",
              "question": {
                "valueType": "dynamic",
                "dynamicValue": "Do you want to know what these risks mean?",
                "staticValue": ""
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Yes",
                        "staticValue": null
                      },
                      "value": "Yes",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "No",
                        "staticValue": null
                      },
                      "value": "No",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-3628be9e16",
                  "type": "transition",
                  "label": "Yes",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Yes"
                  },
                  "destination": {
                    "node": "nd-8f0f0e8259"
                  }
                },
                {
                  "id": "trs-8c6b1f572f",
                  "type": "transition",
                  "label": "No",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=No"
                  },
                  "destination": {
                    "node": "nd-c957d2648d"
                  }
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            },
            {
              "id": "ins-fd3c640696",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "A low risk means you currently have a lower likelihood of developing diabetes, but maintaining a healthy lifestyle is still important. A moderate risk indicates that you should consider making some lifestyle changes to reduce your risk. A high risk suggests that you should consult a healthcare provider for further evaluation and possible preventive measures.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-f7fb76b2da",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": null
          },
          "id": "nd-f7fb76b2da",
          "name": "Standard12"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": 15,
          "y": -285,
          "instructions": [
            {
              "id": "ins-14653508c2",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://RawInput/v1",
              "entityName": "Raw Input",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-c957d2648d",
              "question": {
                "valueType": "dynamic",
                "dynamicValue": "If you have any more questions or need further assistance, feel free to ask!",
                "staticValue": ""
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "staticValue": [],
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"undefined\" */\ninterface Output = { value: any }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: undefined\nuser: undefined\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { value: any }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "wsDIMaSsJ1YTaWLaNEaV5IgB+C2qyh801nUa4CdCsmubxvThog1rJ7tYXwHKDnA4cpOm6gnznXN6AdKJSoh/tbRxO1abxj04bRbCn9y7BZ8i3qZQl1Le5PIaAmfampxeHFl8IasZNZYi5uWVQnd1IPS3iFv6wYhBGa/EPlz+AagSKdqmn11u/DSAfrYixnA2rW+XEORrVeVMt1P8zFU7ssoTSSNt7LZh1xmH0amoWFad2vSDxu/2eU55NZSGFlB8a1soPEGYq83QN6mHXldjsO1mEV7cHWsSBZPTXG37GipXEbYKe/9sQNwg6mpBLIuvbliiJ9DvjkkSyXQVkVhTyg=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": null
          },
          "id": "nd-c957d2648d",
          "name": "Standard13"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": 375,
          "y": -720,
          "instructions": [
            {
              "id": "ins-dfdc1e7318",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "A low risk means you currently have a lower likelihood of developing diabetes, but maintaining a healthy lifestyle is still important. A moderate risk indicates that you should consider making some lifestyle changes to reduce your risk. A high risk suggests that you should consult a healthcare provider for further evaluation and possible preventive measures.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-8f0f0e8259",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-c957d2648d"
          },
          "id": "nd-8f0f0e8259",
          "name": "Standard14"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -855,
          "y": -810,
          "instructions": [
            {
              "id": "ins-228a615d23",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "- Diet: Focus on a balanced diet rich in vegetables, whole grains, and lean proteins. Reduce intake of sugary foods and drinks.\n- Exercise: Aim for at least 30 minutes of moderate physical activity most days of the week.\n- Regular Check-ups: Monitor your blood pressure, cholesterol, and blood sugar levels regularly.\n- Weight Management: Maintaining a healthy weight can significantly reduce your risk of diabetes.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-004fcec449",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-78438c1c93"
          },
          "id": "nd-004fcec449",
          "name": "Standard15"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -855,
          "y": -630,
          "instructions": [
            {
              "id": "ins-bc251bcd87",
              "category": "Capture Information",
              "type": "capture",
              "entityId": "prompts://SingleChoice/v1",
              "entityName": "Single Choice",
              "kbPriority": {
                "enabled": true,
                "searchScope": "all",
                "kbs": []
              },
              "nodeId": "nd-78438c1c93",
              "question": {
                "staticValue": "",
                "dynamicValue": "Do you need help with a diet plan?",
                "valueType": "dynamic"
              },
              "validation": {
                "validators": []
              },
              "choice": {
                "options": {
                  "valueType": "static",
                  "staticValue": [
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "Yes, please.",
                        "staticValue": null
                      },
                      "value": "Yes, please.",
                      "enabled": true
                    },
                    {
                      "label": {
                        "valueType": "dynamic",
                        "dynamicValue": "No, thanks.",
                        "staticValue": null
                      },
                      "value": "No, thanks.",
                      "enabled": true
                    }
                  ],
                  "dynamicValue": ""
                }
              },
              "retry": {
                "maxRetries": 2,
                "retryMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "dynamic"
                }
              },
              "cancellation": {
                "cancellable": true,
                "confirmCancel": true,
                "confirmCancelMessage": {
                  "staticValue": "",
                  "dynamicValue": "",
                  "valueType": "static"
                }
              },
              "handleFailure": false,
              "historyLookback": 0,
              "skipIfAlreadyFilled": false,
              "transitions": [
                {
                  "id": "trs-8b818f5c1e",
                  "type": "transition",
                  "label": "Yes, please.",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=Yes, please."
                  },
                  "destination": {
                    "node": "nd-50c534c7a5"
                  }
                },
                {
                  "id": "trs-8c4530dcf6",
                  "type": "transition",
                  "label": "No, thanks.",
                  "condition": {
                    "type": "expression",
                    "payload": "__CHOICE=No, thanks."
                  },
                  "destination": {
                    "node": "nd-c957d2648d"
                  }
                }
              ],
              "prompt": {
                "messages": [
                  {
                    "role": "system",
                    "content": "You are ExtractGPT and your only goal is to generate useful content in JSON format for developers to parse and use. You don't know any other language than JSON."
                  },
                  {
                    "role": "user",
                    "content": "```typescript\n/** The user answer to the question \"Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\nagent: Which one would you like? Choices: [ 1) Red Apple, 2) Yellow Apple, 3) Dark Banana ]\nuser: I will go with the second one please\n\"\"\""
                  },
                  {
                    "role": "assistant",
                    "content": "{\"choice\":\"Yellow Apple\"}"
                  },
                  {
                    "role": "user",
                    "content": "\nNow, forget about the previous transcripts. These were just examples, don't consider those as valid transcripts for this new task.\n\n###\n\nThe current Date is {{CURRENT_DATE_TIME}}.\n\nAt this point of the conversation, I need require the user to fill the output in following JSON output to complete the task.\nIf more than one property, try to extract each of them the best you can.\n\n```typescript\n/** The user answer to the question \"{{QUESTION}}\" */\ninterface Output = { choice: {{CHOICES_TYPINGS}} }\n```\n\nHere is a conversation between me and a user. Transcript:\n\"\"\"\n(...)\n{{TRANSCRIPT}}\n\"\"\"\n\nIn the last user message, here are the entities found:\n\"\"\"\nENTITIES_IDENTIFIED\n\"\"\"\n\nI need you to extract from the conversation transcript above the values the user has provided.\nIf the user has not provided the information I need, I need you to set the value of the missing answer properties to null.\nHave some tolerance to typos and variations in how the user selects from the possible values.\n\n\n\nNow, please reply to me with the above JSON output and nothing but JSON.\nYou should not explain your answer and should not talk back to me. Just JSON."
                  }
                ],
                "model": "gpt-3.5-turbo",
                "temperature": 0,
                "signatureVersion": "Jan-2024",
                "signature": "bVu49Pre5q6DHlBFHgwm9WRpKblGPBZEVz9lE1T/kSknjafz8d4zyUGOUmre70ijj2brtSymiTuHw41rgUeoCl/HXkA3kpomvC1RU1QBili6tzgAvH+4CC1PGSL/kP+71QgVkqv73DXrN1UAAH60wru/Oc8nuHvtTKxeoghxZzkmwKpFWq9L8Appklcjf5Pr+4N2Q9JQtxsr4D2+SSc7cCBec71TQVpOxhmPHfxaaKfgzGV4PZbUFI0JZEkmMppHHz+6iTlkoeWG45ukpCwCw7ppjnps4TYI/bR2gWVOyN9J3mVYmZoH7pNY7UWjd/mB+HjubAfZAeNF7FXvVKzcrA=="
              }
            }
          ],
          "defaultTransition": {
            "targetNodeId": null
          },
          "id": "nd-78438c1c93",
          "name": "Standard16"
        },
        {
          "type": "standard",
          "deletable": true,
          "x": -855,
          "y": -360,
          "instructions": [
            {
              "id": "ins-3de98ff99c",
              "category": "Send Messages",
              "type": "content",
              "content": {
                "type": "text",
                "text": {
                  "valueType": "dynamic",
                  "dynamicValue": "Sure! Here are some dietary tips:\n- Start your day with a high-fiber breakfast like oatmeal with fruits.\n- Include a variety of vegetables in your meals.\n- Opt for whole grains instead of refined grains.\n- Choose lean proteins such as chicken, fish, or beans.\n- Limit sugary snacks and beverages.",
                  "staticValue": ""
                },
                "typing": {
                  "valueType": "static",
                  "staticValue": true
                }
              },
              "nodeId": "nd-50c534c7a5",
              "transitions": []
            }
          ],
          "defaultTransition": {
            "targetNodeId": "nd-c957d2648d"
          },
          "id": "nd-50c534c7a5",
          "name": "Standard17"
        }
      ],
      "parentFolder": "root"
    }
  ],
  "intents": [
    {
      "id": "int-cancel",
      "name": "cancel",
      "utterances_with_slots": [
        "cancel",
        "abort",
        "abandon",
        "i want to cancel",
        "forget about this",
        "leave",
        "stop",
        "quit",
        "you know what, nevermind",
        "forget it"
      ]
    },
    {
      "id": "int-no",
      "name": "no",
      "utterances_with_slots": [
        "no",
        "i don't want to",
        "absolutely not",
        "nah",
        "nope",
        "not really",
        "not sure",
        "no thanks"
      ]
    },
    {
      "id": "int-yes",
      "name": "yes",
      "utterances_with_slots": [
        "yes",
        "yeah",
        "absolutely",
        "i'd like to",
        "sure ",
        "hmm probably",
        "yup",
        "ok"
      ]
    }
  ],
  "list_entities": [],
  "pattern_entities": [],
  "actions": [],
  "hooks": [],
  "qnas": [],
  "knowledge_base": [
    {
      "dataSources": [
        {
          "created_on": 1719606069456,
          "data": {
            "freshness": "Any",
            "websiteFilter": "include",
            "websites": [
              "mauryregional.com",
              "uihc.org",
              "dpbh.nv.gov",
              "google.com"
            ]
          },
          "disabled": false,
          "id": "ds-106f360daa",
          "type": "web-search"
        }
      ],
      "description": "This is about New KB1",
      "id": "kb-2f0a7ea639",
      "name": "Default Knowledge Base",
      "parentFolder": "root"
    }
  ],
  "folders": [],
  "agents": {
    "SummaryAgent": {
      "enabled": true,
      "config": {
        "summaryMaxTokens": 100
      }
    },
    "TranslatorAgent": {
      "config": {
        "detectLanguage": true
      }
    },
    "KnowledgeAgent": {
      "enabled": true,
      "config": {
        "answerManually": false,
        "context": "Summary of the conversation:\n\"\"\"\n{{conversation.SummaryAgent.summary}}\n\"\"\"\n\nTranscript:\n\"\"\"\n{{conversation.SummaryAgent.transcript}}\n\"\"\""
      }
    },
    "PersonalityAgent": {
      "config": {
        "personality": ""
      }
    }
  },
  "tables": {},
  "schemas": [],
  "versions": []
}PK
›ÞX)»L
documents.json[]PK
›ÞX)»L

files.json[]PK
›ÞX=£Ä3~3~bot.jsonPK
›ÞX)»L
Y~documents.jsonPK
›ÞX)»L

‡~files.jsonPKª±~