✨ Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block. Closes #380
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
{
|
||||
"version": "6",
|
||||
"id": "clp6onbn200011ab379x5gnea",
|
||||
"id": "clpntvmje00031aboan4plzzx",
|
||||
"name": "Audio ChatGPT",
|
||||
"icon": "🔈",
|
||||
"events": [
|
||||
{
|
||||
"id": "ewnfbo0exlu7ihfu2lu2lusm",
|
||||
"outgoingEdgeId": "knz1ln1so0dfyth76qjkjn1p",
|
||||
"outgoingEdgeId": "f2hmh9jelbqb889l6lx5e1u5",
|
||||
"graphCoordinates": { "x": -228.25, "y": -123.31 },
|
||||
"type": "start"
|
||||
}
|
||||
@ -40,27 +39,23 @@
|
||||
"graphCoordinates": { "x": 445.12, "y": -56.2 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "xikptnw1lp1qxdqo10qhmwy1",
|
||||
"type": "OpenAI",
|
||||
"id": "e57nnbkl97h49jaaslxkg3u0",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "wsdxha9db58gk2v9n1j10m7c",
|
||||
"role": "Dialogue",
|
||||
"dialogueVariableId": "vabkycu0qqff5d6ar2ama16pf",
|
||||
"startsBy": "user"
|
||||
"dialogueVariableId": "vabkycu0qqff5d6ar2ama16pf"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "p8ksqi2jhyzid2od3dikv299",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clp6ooc3700031ab30yof27jm"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -73,14 +68,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "prsimdxdol42ty2parzgx8am",
|
||||
"type": "OpenAI",
|
||||
"id": "av59rg9zeqtl73o8icnrr2xd",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"credentialsId": "clp6ooc3700031ab30yof27jm",
|
||||
"task": "Create speech",
|
||||
"model": "tts-1",
|
||||
"input": "{{Assistant Message}}",
|
||||
"voice": "alloy",
|
||||
"action": "Create speech",
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"saveUrlInVariableId": "vgr0iwg95npp7pztkmdyn89m1"
|
||||
}
|
||||
},
|
||||
@ -98,14 +92,13 @@
|
||||
"graphCoordinates": { "x": -222.61, "y": -54.39 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "dp5gx25j73fgmcj9582ydik9",
|
||||
"type": "OpenAI",
|
||||
"id": "yuiyeh0czhpymzwuzrm3af5r",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"credentialsId": "clp6ooc3700031ab30yof27jm",
|
||||
"task": "Create speech",
|
||||
"model": "tts-1",
|
||||
"input": "Hi there! How can I help?",
|
||||
"voice": "alloy",
|
||||
"action": "Create speech",
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"saveUrlInVariableId": "vxw4quja426402hvhtm33tsp3"
|
||||
}
|
||||
},
|
||||
@ -149,9 +142,9 @@
|
||||
{
|
||||
"text": "Once it's done, delete this group and connect the "
|
||||
},
|
||||
{ "text": "Start", "bold": true },
|
||||
{ "bold": true, "text": "Start" },
|
||||
{ "text": " event with " },
|
||||
{ "text": "Intro", "bold": true },
|
||||
{ "bold": true, "text": "Intro" },
|
||||
{ "text": " 🚀\n" }
|
||||
]
|
||||
}
|
||||
@ -180,7 +173,7 @@
|
||||
{
|
||||
"from": { "eventId": "ewnfbo0exlu7ihfu2lu2lusm" },
|
||||
"to": { "groupId": "yswu9fml4zflxaqlujb94ir8" },
|
||||
"id": "knz1ln1so0dfyth76qjkjn1p"
|
||||
"id": "f2hmh9jelbqb889l6lx5e1u5"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
@ -193,12 +186,13 @@
|
||||
"theme": {},
|
||||
"selectedThemeTemplateId": null,
|
||||
"settings": {},
|
||||
"createdAt": "2023-11-20T09:06:40.430Z",
|
||||
"updatedAt": "2023-11-20T09:20:01.662Z",
|
||||
"createdAt": "2023-12-02T09:05:10.874Z",
|
||||
"updatedAt": "2023-12-02T09:08:20.451Z",
|
||||
"icon": "🔈",
|
||||
"folderId": null,
|
||||
"publicId": null,
|
||||
"customDomain": null,
|
||||
"workspaceId": "freeWorkspace",
|
||||
"workspaceId": "proWorkspace",
|
||||
"resultsTablePreferences": null,
|
||||
"isArchived": false,
|
||||
"isClosed": false,
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "6",
|
||||
"id": "clofz4jhf00071a5pjlh8ruwr",
|
||||
"id": "clpntkei400011aboogh27ead",
|
||||
"name": "Basic ChatGPT",
|
||||
"events": [
|
||||
{
|
||||
"id": "ewnfbo0exlu7ihfu2lu2lusm",
|
||||
"outgoingEdgeId": "q25yjqccpjv3i1tclgv1x941",
|
||||
"outgoingEdgeId": "pn7omb9mx5xxc4mzq028fcmq",
|
||||
"graphCoordinates": { "x": -228.25, "y": -123.31 },
|
||||
"type": "start"
|
||||
}
|
||||
@ -18,7 +18,6 @@
|
||||
"blocks": [
|
||||
{
|
||||
"id": "s6eky7dd3md9hto9y4wsuj7h",
|
||||
"groupId": "t3tv4dm3khwmiotjle5jb65g",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
@ -35,7 +34,6 @@
|
||||
},
|
||||
{
|
||||
"id": "nqsu9f13q5j8tt56bcbuto62",
|
||||
"groupId": "t3tv4dm3khwmiotjle5jb65g",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
@ -63,13 +61,11 @@
|
||||
"blocks": [
|
||||
{
|
||||
"id": "ovgk70u0kfxrbtz9dy4e040o",
|
||||
"groupId": "qfrz5nwm63g12dajsjxothb5",
|
||||
"type": "text input",
|
||||
"options": { "variableId": "vudksu3zyrat6s1bq6qne0rx3" }
|
||||
},
|
||||
{
|
||||
"id": "m4jadtknjb3za3gvxj1xdn1k",
|
||||
"groupId": "qfrz5nwm63g12dajsjxothb5",
|
||||
"outgoingEdgeId": "fpj0xacppqd1s5slyljzhzc9",
|
||||
"type": "Set variable",
|
||||
"options": {
|
||||
@ -86,33 +82,27 @@
|
||||
"graphCoordinates": { "x": 624.57, "y": 200.09 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "xikptnw1lp1qxdqo10qhmwy1",
|
||||
"groupId": "a6ymhjwtkqwp8t127plz8qmk",
|
||||
"type": "OpenAI",
|
||||
"id": "p4q3wbk4wcw818qocrvu7dxs",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "wsdxha9db58gk2v9n1j10m7c",
|
||||
"role": "Dialogue",
|
||||
"dialogueVariableId": "vabkycu0qqff5d6ar2ama16pf",
|
||||
"startsBy": "user"
|
||||
"dialogueVariableId": "vabkycu0qqff5d6ar2ama16pf"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "p8ksqi2jhyzid2od3dikv299",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clocxtxlc00031an2uc59hdpb"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "yblc864bzipaqfja7b2o3oo0",
|
||||
"groupId": "a6ymhjwtkqwp8t127plz8qmk",
|
||||
"type": "Set variable",
|
||||
"options": {
|
||||
"variableId": "vabkycu0qqff5d6ar2ama16pf",
|
||||
@ -122,7 +112,6 @@
|
||||
},
|
||||
{
|
||||
"id": "myldn1l1nfdwwm8qvza71rwv",
|
||||
"groupId": "a6ymhjwtkqwp8t127plz8qmk",
|
||||
"outgoingEdgeId": "y8ml9ljnsydol9b42fd9zdve",
|
||||
"type": "text",
|
||||
"content": {
|
||||
@ -140,7 +129,6 @@
|
||||
"blocks": [
|
||||
{
|
||||
"id": "vzcrfk4vl9gy8igu0ysja5nc",
|
||||
"groupId": "c5f00f3oclwi1srcz10jjt9u",
|
||||
"type": "text",
|
||||
"content": {
|
||||
"richText": [
|
||||
@ -150,7 +138,6 @@
|
||||
},
|
||||
{
|
||||
"id": "gphm5wy1md9cunwkdtbzg6nq",
|
||||
"groupId": "c5f00f3oclwi1srcz10jjt9u",
|
||||
"outgoingEdgeId": "h5sk58j0ryrxmfv4gmw7r4dw",
|
||||
"type": "text",
|
||||
"content": {
|
||||
@ -165,32 +152,23 @@
|
||||
"edges": [
|
||||
{
|
||||
"id": "h5sk58j0ryrxmfv4gmw7r4dw",
|
||||
"from": {
|
||||
"groupId": "c5f00f3oclwi1srcz10jjt9u",
|
||||
"blockId": "gphm5wy1md9cunwkdtbzg6nq"
|
||||
},
|
||||
"from": { "blockId": "gphm5wy1md9cunwkdtbzg6nq" },
|
||||
"to": { "groupId": "qfrz5nwm63g12dajsjxothb5" }
|
||||
},
|
||||
{
|
||||
"id": "y8ml9ljnsydol9b42fd9zdve",
|
||||
"from": {
|
||||
"groupId": "a6ymhjwtkqwp8t127plz8qmk",
|
||||
"blockId": "myldn1l1nfdwwm8qvza71rwv"
|
||||
},
|
||||
"from": { "blockId": "myldn1l1nfdwwm8qvza71rwv" },
|
||||
"to": { "groupId": "qfrz5nwm63g12dajsjxothb5" }
|
||||
},
|
||||
{
|
||||
"id": "fpj0xacppqd1s5slyljzhzc9",
|
||||
"from": {
|
||||
"groupId": "qfrz5nwm63g12dajsjxothb5",
|
||||
"blockId": "m4jadtknjb3za3gvxj1xdn1k"
|
||||
},
|
||||
"from": { "blockId": "m4jadtknjb3za3gvxj1xdn1k" },
|
||||
"to": { "groupId": "a6ymhjwtkqwp8t127plz8qmk" }
|
||||
},
|
||||
{
|
||||
"from": { "eventId": "ewnfbo0exlu7ihfu2lu2lusm" },
|
||||
"to": { "groupId": "t3tv4dm3khwmiotjle5jb65g" },
|
||||
"id": "q25yjqccpjv3i1tclgv1x941"
|
||||
"id": "pn7omb9mx5xxc4mzq028fcmq"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
@ -201,8 +179,8 @@
|
||||
"theme": {},
|
||||
"selectedThemeTemplateId": null,
|
||||
"settings": { "general": {} },
|
||||
"createdAt": "2023-11-01T16:30:13.155Z",
|
||||
"updatedAt": "2023-11-01T16:30:13.155Z",
|
||||
"createdAt": "2023-12-02T08:56:27.244Z",
|
||||
"updatedAt": "2023-12-02T09:00:25.221Z",
|
||||
"icon": "🤖",
|
||||
"folderId": null,
|
||||
"publicId": null,
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "6",
|
||||
"id": "cloi9k6tf00051aqji6vk88pq",
|
||||
"id": "clpnu8xj800071abop3o19y02",
|
||||
"name": "ChatGPT personas",
|
||||
"events": [
|
||||
{
|
||||
"id": "w99qhdr20tw02sfrfwkfc1tg",
|
||||
"outgoingEdgeId": "c3733n7ia1hxcwld9lm3p351",
|
||||
"outgoingEdgeId": "k5bj58emklqfqv3hemko4u23",
|
||||
"graphCoordinates": { "x": -95.29, "y": -267.02 },
|
||||
"type": "start"
|
||||
}
|
||||
@ -60,27 +60,24 @@
|
||||
"graphCoordinates": { "x": 1053.297810684862, "y": 919.9658659364646 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "xikptnw1lp1qxdqo10qhmwy1",
|
||||
"type": "OpenAI",
|
||||
"id": "qqlv6ikxqh2l7wjibjqk3j93",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "mcc3hr1us468btys3moj20m9",
|
||||
"role": "user",
|
||||
"content": "Starting from now, I want you to explain things with simple words, as if I'm 11 years old."
|
||||
},
|
||||
{
|
||||
"id": "i8i226uylkh84ovtpguaqc83",
|
||||
"role": "Dialogue",
|
||||
"dialogueVariableId": "vu9adij5penetej2xz89htfe6"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "brb5ccisi1tjiqf3ng0asaiq",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
]
|
||||
@ -111,13 +108,11 @@
|
||||
{
|
||||
"id": "x18iwzwmbzi9jjpnwij1861i",
|
||||
"outgoingEdgeId": "mxl8lftsj3pbmj4g24ymxajo",
|
||||
"type": "button",
|
||||
"content": "Continue"
|
||||
},
|
||||
{
|
||||
"id": "imx7otsonvm0takr02b4ulyo",
|
||||
"outgoingEdgeId": "ny44r5sp69gne7obgshidhph",
|
||||
"type": "button",
|
||||
"content": "Menu"
|
||||
}
|
||||
]
|
||||
@ -127,30 +122,27 @@
|
||||
{
|
||||
"id": "fj5z2nx488htv0843kq6qeyk",
|
||||
"title": "Professor AI reply",
|
||||
"graphCoordinates": { "x": 1040.86, "y": -128.46 },
|
||||
"graphCoordinates": { "x": 1052.26, "y": -56.02 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "f2r11ibqq2ufrahfcl3gf6qi",
|
||||
"type": "OpenAI",
|
||||
"id": "itiwmw62ml38rmeawxxawkub",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "fxg16pnlnwuhfpz1r51xslbd",
|
||||
"role": "user",
|
||||
"content": "I want you to act as an English translator, spelling corrector and improver. I will speak to you in any language and you will detect the language, translate it and answer in the corrected and improved version of my text, in English. I want you to replace my simplified A0-level words and sentences with more beautiful and elegant, upper level English words and sentences. Keep the meaning same, but make them more literary. I want you to only reply the correction, the improvements and nothing else, do not write explanations."
|
||||
},
|
||||
{
|
||||
"id": "biqljpsbqfkgno4m80s4j5p0",
|
||||
"role": "Dialogue",
|
||||
"dialogueVariableId": "vu9adij5penetej2xz89htfe6"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "brb5ccisi1tjiqf3ng0asaiq",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
]
|
||||
@ -181,13 +173,11 @@
|
||||
{
|
||||
"id": "zaylo8bstqx0wp6bpdbd1rak",
|
||||
"outgoingEdgeId": "q6o0cbyzxtvgls3jtz7rpdgw",
|
||||
"type": "button",
|
||||
"content": "Continue"
|
||||
},
|
||||
{
|
||||
"id": "d5jv3sjpzobsrnhcp055mxkv",
|
||||
"outgoingEdgeId": "xjv7pkpgpwh169448t8pepg4",
|
||||
"type": "button",
|
||||
"content": "Back to menu"
|
||||
}
|
||||
]
|
||||
@ -197,30 +187,27 @@
|
||||
{
|
||||
"id": "csbysu8dr08zxr4i6hzvzjdf",
|
||||
"title": "Copywriter AI reply",
|
||||
"graphCoordinates": { "x": 1044.25, "y": 372.87 },
|
||||
"graphCoordinates": { "x": 1055.63, "y": 436.9 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "h2t5vbir3zh8eku55ozwb1du",
|
||||
"type": "OpenAI",
|
||||
"id": "w2y6tl8mggplu8vsc9hu2080",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-3.5-turbo",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "fxg16pnlnwuhfpz1r51xslbd",
|
||||
"role": "user",
|
||||
"content": "I want you to act as a copywriter. You will come up with copywriting advices that are engaging, imaginative, and captivating for the audience."
|
||||
},
|
||||
{
|
||||
"id": "ynbhlcbsmy24pobiay9zezli",
|
||||
"role": "Dialogue",
|
||||
"dialogueVariableId": "vu9adij5penetej2xz89htfe6"
|
||||
}
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "brb5ccisi1tjiqf3ng0asaiq",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
]
|
||||
@ -251,13 +238,11 @@
|
||||
{
|
||||
"id": "b6zif4xxe2cuiddc2oqayaxi",
|
||||
"outgoingEdgeId": "jwydpoxngp2gvwanaruphe6s",
|
||||
"type": "button",
|
||||
"content": "Continue"
|
||||
},
|
||||
{
|
||||
"id": "ooib3mqlfkazta6iol1ocloe",
|
||||
"outgoingEdgeId": "gfrpgowch879p1qaj9jzsh01",
|
||||
"type": "button",
|
||||
"content": "Back to menu"
|
||||
}
|
||||
]
|
||||
@ -296,25 +281,20 @@
|
||||
{
|
||||
"id": "rn0lqz1wvsg9lmc0jcl6ps8j",
|
||||
"outgoingEdgeId": "ry7l8wcaidxw5izm7zoy83kj",
|
||||
"type": "button",
|
||||
"content": "English professor"
|
||||
},
|
||||
{
|
||||
"id": "le84cls9vkmrxquvqw8bhp7h",
|
||||
"outgoingEdgeId": "iy2htkuup0l908fsosg6d2qz",
|
||||
"type": "button",
|
||||
"content": "Copywriter"
|
||||
},
|
||||
{
|
||||
"id": "mx4kgfgena53mxf87piwu1j2",
|
||||
"outgoingEdgeId": "kmex71jzzzekni4louuy3xbf",
|
||||
"type": "button",
|
||||
"content": "Concept explainer"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"variableId": "vs7wwz29yyd21pfl4syeptdgi"
|
||||
}
|
||||
"options": { "variableId": "vs7wwz29yyd21pfl4syeptdgi" }
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -700,7 +680,7 @@
|
||||
{
|
||||
"from": { "eventId": "w99qhdr20tw02sfrfwkfc1tg" },
|
||||
"to": { "groupId": "bofjp88arodr4k0btv2esyqy" },
|
||||
"id": "c3733n7ia1hxcwld9lm3p351"
|
||||
"id": "k5bj58emklqfqv3hemko4u23"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
@ -711,8 +691,8 @@
|
||||
"theme": {},
|
||||
"selectedThemeTemplateId": null,
|
||||
"settings": {},
|
||||
"createdAt": "2023-11-03T06:57:51.747Z",
|
||||
"updatedAt": "2023-11-03T07:03:19.089Z",
|
||||
"createdAt": "2023-12-02T09:15:31.652Z",
|
||||
"updatedAt": "2023-12-02T09:18:34.891Z",
|
||||
"icon": "🎭",
|
||||
"folderId": null,
|
||||
"publicId": null,
|
||||
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"version": "6",
|
||||
"id": "clp6pe8dy00051ab3n6coxt62",
|
||||
"id": "clpnu4plq00051abo2487q86h",
|
||||
"name": "ChatGPT condition",
|
||||
"events": [
|
||||
{
|
||||
"id": "ewnfbo0exlu7ihfu2lu2lusm",
|
||||
"outgoingEdgeId": "gj1gs8hdembrsw84aafd1hbj",
|
||||
"outgoingEdgeId": "q2fpvz66ei3gd6k3wwq6w8f2",
|
||||
"graphCoordinates": { "x": -228.25, "y": -123.31 },
|
||||
"type": "start"
|
||||
}
|
||||
@ -39,47 +39,25 @@
|
||||
"graphCoordinates": { "x": 228.67, "y": -50.67 },
|
||||
"blocks": [
|
||||
{
|
||||
"id": "wdg7upk4oqp602jqjn06gjf6",
|
||||
"type": "OpenAI",
|
||||
"id": "ufwpq6z392ebsu5tda0md77a",
|
||||
"type": "openai",
|
||||
"options": {
|
||||
"task": "Create chat completion",
|
||||
"model": "gpt-4-1106-preview",
|
||||
"action": "Create chat completion",
|
||||
"messages": [
|
||||
{
|
||||
"id": "s7s7uaurqlmsn3r89c10mk98",
|
||||
"role": "system",
|
||||
"content": "You are helpful assistant doing customer support for a software called Typebot.\n\nIf the user is asking a question about his account, please say \"ACCOUNT\".\n\nIf the user wants to talk to a human, please say \"HUMAN\".\n\nOtherwise, say \"OK\""
|
||||
},
|
||||
{
|
||||
"id": "zrgypmt1wlogakfl06gfxpgk",
|
||||
"role": "user",
|
||||
"content": "Can I talk to a human?"
|
||||
},
|
||||
{
|
||||
"id": "i6ldg74yr9n185oumozb3r6b",
|
||||
"role": "assistant",
|
||||
"content": "HUMAN"
|
||||
},
|
||||
{
|
||||
"id": "eoxa3dxtw8wjdyv9efnxryxk",
|
||||
"role": "user",
|
||||
"content": "I need to check my account"
|
||||
},
|
||||
{
|
||||
"id": "nb7sy9x7g07w5s1sxb83v295",
|
||||
"role": "assistant",
|
||||
"content": "ACCOUNT"
|
||||
},
|
||||
{
|
||||
"id": "zazen7p0cyawtix7der2e923",
|
||||
"role": "user",
|
||||
"content": "{{User Message}}"
|
||||
}
|
||||
{ "role": "user", "content": "Can I talk to a human?" },
|
||||
{ "role": "assistant", "content": "HUMAN" },
|
||||
{ "role": "user", "content": "I need to check my account" },
|
||||
{ "role": "assistant", "content": "ACCOUNT" },
|
||||
{ "role": "user", "content": "{{User Message}}" }
|
||||
],
|
||||
"credentialsId": "clpjnjrbt00051aliw6610w1z",
|
||||
"responseMapping": [
|
||||
{
|
||||
"id": "s7s7uaurqlmsn3r89c10mk98",
|
||||
"valueToExtract": "Message content",
|
||||
"item": "Message content",
|
||||
"variableId": "vni6kwbch8zlq92dclgcivzyr"
|
||||
}
|
||||
]
|
||||
@ -215,9 +193,9 @@
|
||||
{
|
||||
"text": "Once it's done, delete this group and connect the "
|
||||
},
|
||||
{ "text": "Start", "bold": true },
|
||||
{ "bold": true, "text": "Start" },
|
||||
{ "text": " event with " },
|
||||
{ "text": "Intro", "bold": true },
|
||||
{ "bold": true, "text": "Intro" },
|
||||
{ "text": " 🚀\n" }
|
||||
]
|
||||
}
|
||||
@ -267,7 +245,7 @@
|
||||
{
|
||||
"from": { "eventId": "ewnfbo0exlu7ihfu2lu2lusm" },
|
||||
"to": { "groupId": "vafybpsjqcbrbbhi8pwl0gic" },
|
||||
"id": "gj1gs8hdembrsw84aafd1hbj"
|
||||
"id": "q2fpvz66ei3gd6k3wwq6w8f2"
|
||||
}
|
||||
],
|
||||
"variables": [
|
||||
@ -277,12 +255,13 @@
|
||||
"theme": {},
|
||||
"selectedThemeTemplateId": null,
|
||||
"settings": {},
|
||||
"createdAt": "2023-11-20T09:27:35.926Z",
|
||||
"updatedAt": "2023-11-20T09:27:59.586Z",
|
||||
"createdAt": "2023-12-02T09:12:14.750Z",
|
||||
"updatedAt": "2023-12-02T09:14:20.047Z",
|
||||
"icon": "🧠",
|
||||
"folderId": null,
|
||||
"publicId": null,
|
||||
"customDomain": null,
|
||||
"workspaceId": "proWorkspace",
|
||||
"resultsTablePreferences": null,
|
||||
"isArchived": false,
|
||||
"isClosed": false,
|
||||
|
Reference in New Issue
Block a user