{
    "project": {
        "commands": [
            {
                "father": "setVar",
                "command": "%base_path%",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "id": "126362a1-7679-22e4-a77f-e4d1bd589fce",
                "group": "system",
                "mode_live": false,
                "var": "base_path",
                "line": 1,
                "execute": 1,
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "message": "setvar  ",
                "screenshot": "",
                "time": "0.002000570297241211",
                "extra": []
            },
            {
                "father": "module",
                "command": "{\"module_name\":\"OpenAI\",\"module\":\"Connect\",\"api_key\":\"{api_key}\",\"result_var\":\"connection\"}",
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "screenshot": "",
                "line": 2,
                "description": "",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "module": "Connect",
                "id": "d0b3bdb3-0539-f3e3-c0a2-f76f21d02f6b",
                "group": "scripts",
                "mode_live": false,
                "execute": 1,
                "message": "module  {\"module_name\":\"OpenAI\",\"module\":\"Connect\",\"api_key\":\"{api_key}\",\"result_var\":\"connection\"}",
                "time": "0.7929596900939941",
                "extra": []
            },
            {
                "father": "module",
                "command": "{\"module_name\":\"OpenAI\",\"module\":\"Completion\",\"prompt\":\"{prompt}\",\"model\":\"text-davinci-003\",\"result_var\":\"response_GPT\"}",
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "screenshot": "",
                "line": 3,
                "description": "",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "module": "Completion",
                "id": "04efd0ba-9c3d-2253-4b6c-b49c07c8f505",
                "group": "scripts",
                "mode_live": false,
                "execute": 1,
                "message": "module  {\"module_name\":\"OpenAI\",\"module\":\"Completion\",\"prompt\":\"{prompt}\",\"model\":\"text-davinci-003\",\"result_var\":\"response_GPT\"}",
                "time": "13.040103197097778",
                "extra": []
            },
            {
                "father": "setVar",
                "command": "\"{base_path}/modules/openai/example/Rocketbot.mp3\"",
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "screenshot": "",
                "line": 4,
                "description": "",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "id": "4c08dfff-9542-2ce0-48e8-913950b11bd3",
                "group": "system",
                "mode_live": false,
                "var": "audio",
                "execute": 1,
                "message": "setvar  ",
                "time": "0.002000570297241211",
                "extra": []
            },
            {
                "father": "module",
                "command": "{\"module_name\":\"OpenAI\",\"module\":\"whisper\",\"audio_file\":\"{audio}\",\"result_var\":\"transcription\"}",
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "screenshot": "",
                "line": 5,
                "description": "",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "module": "whisper",
                "id": "0b1d0eda-0f61-4158-cd97-90cbfd3fdcbd",
                "group": "scripts",
                "mode_live": false,
                "execute": 1,
                "message": "module  {\"module_name\":\"OpenAI\",\"module\":\"whisper\",\"audio_file\":\"{audio}\",\"result_var\":\"transcription\"}",
                "time": "8.061120986938477",
                "extra": []
            },
            {
                "father": "module",
                "command": "{\"module_name\":\"OpenAI\",\"module\":\"translate\",\"audio_file\":\"{audio}\",\"result_var\":\"translation\"}",
                "stop_onerror": false,
                "run_onerror": false,
                "stop_robot_onerror": false,
                "run_onerror_robot": "",
                "run_when": "True",
                "module": "translate",
                "id": "4c4391ba-fdce-37b5-e145-a4863653f3bf",
                "group": "scripts",
                "mode_live": false,
                "line": 6,
                "execute": 1,
                "index": 0,
                "execute_debugg": 0,
                "img": "",
                "message": "module  {\"module_name\":\"OpenAI\",\"module\":\"translate\",\"audio_file\":\"{audio}\",\"result_var\":\"translation\"}",
                "screenshot": "",
                "time": "8.463151693344116",
                "extra": []
            }
        ],
        "ifs": [],
        "modules": [
            {
                "name": "OpenAI",
                "status": "Update",
                "version": "2.0.0",
                "last_version": "1.0.2"
            }
        ],
        "profile": {
            "name": "openai_example",
            "description": "Example of a bot using OpenAI commands. You must use your own apikey from https://platform.openai.com/account/api-keys"
        },
        "vars": [
            {
                "name": "base_path",
                "data": "D:/Rocketbot/",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 0,
                "id": "0fd158b4-ae0b-33e6-e384-928ddfe35318"
            },
            {
                "name": "api_key",
                "data": "your_apikey",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 1,
                "id": "91bd473e-2720-0092-8bad-ef565e44cb45"
            },
            {
                "name": "connection",
                "data": "",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 6,
                "id": "dc9cadac-9511-0ccb-9de9-1471c9c39c46"
            },
            {
                "name": "prompt",
                "data": "Qué me puedes contar de la herramienta RPA Rocketbot?",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 2,
                "id": "60b8031a-73ef-85a6-e59d-ad30bba1e531"
            },
            {
                "name": "audio",
                "data": "D:/Rocketbot//modules/openai/example/Rocketbot.mp3",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 3,
                "id": "d07de448-b61a-8852-3d44-7b10d215bfbd"
            },
            {
                "name": "response_GPT",
                "data": "",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 4,
                "id": "c7fd5c4d-68f5-29de-6fb1-3df05f6a5f03"
            },
            {
                "name": "transcription",
                "data": "",
                "type": "string",
                "category": "",
                "disabled": false,
                "index": 5,
                "id": "68e2e2a1-4df9-4a43-bcae-93e0ac60fed4"
            },
            {
                "name": "translation",
                "data": "",
                "type": "string",
                "category": "",
                "disabled": false
            }
        ],
        "expose": {
            "title": {
                "en": "openai_example expose",
                "es": "openai_example expose",
                "pr": "openai_example expose"
            },
            "description": {
                "en": "",
                "es": "",
                "pr": ""
            },
            "form": []
        }
    }
}