2
0

📝 Update high ticket lead template with Generate variable a…

This commit is contained in:
Baptiste Arnaud
2024-06-20 12:08:31 +02:00
parent 990ff0f4ca
commit 1380e03b82
8 changed files with 103 additions and 151 deletions

View File

@ -1,11 +1,11 @@
{ {
"version": "6", "version": "6",
"id": "clvch0psb0001p9py1jx1e8wq", "id": "clxn14e0w0001b4nz8a9dpemb",
"name": "High ticket lead follow-up", "name": "High ticket lead follow-up",
"events": [ "events": [
{ {
"id": "mb3o7c0khkqp5mzf1zifdc65", "id": "mb3o7c0khkqp5mzf1zifdc65",
"outgoingEdgeId": "m77o21luo3uzqvgybje01yo1", "outgoingEdgeId": "aauahl2wn37wghyr0ndd6v51",
"graphCoordinates": { "x": 0, "y": 0 }, "graphCoordinates": { "x": 0, "y": 0 },
"type": "start" "type": "start"
} }
@ -14,7 +14,7 @@
{ {
"id": "hemncfdck31b3l9urzs3djtm", "id": "hemncfdck31b3l9urzs3djtm",
"title": "Welcome", "title": "Welcome",
"graphCoordinates": { "x": 198.73, "y": 159.13 }, "graphCoordinates": { "x": 225, "y": 387.85 },
"blocks": [ "blocks": [
{ {
"id": "j4i5syifxmq7650xfz8bnd1o", "id": "j4i5syifxmq7650xfz8bnd1o",
@ -79,7 +79,7 @@
{ {
"id": "a3txw7jcd5qalxizrvqu0fqt", "id": "a3txw7jcd5qalxizrvqu0fqt",
"title": "Business", "title": "Business",
"graphCoordinates": { "x": 576.4, "y": 154.56 }, "graphCoordinates": { "x": 602.78, "y": 382.85 },
"blocks": [ "blocks": [
{ {
"id": "rowpy0lwuecc83xecbb8tzcn", "id": "rowpy0lwuecc83xecbb8tzcn",
@ -112,31 +112,18 @@
"id": "ikvrw5cy41k18ql2pwvzesqt", "id": "ikvrw5cy41k18ql2pwvzesqt",
"type": "mistral", "type": "mistral",
"options": { "options": {
"action": "Create chat completion", "action": "Generate variables",
"model": "mistral-medium", "model": "mistral-large-latest",
"messages": [ "prompt": "Extract the information based on user's previous answer:\n\n\"{{last utterance}}\"",
"variablesToExtract": [
{ {
"role": "system", "type": "string",
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"business\": {\n \"type\": \"string\",\n \"description\": \"A summary of the business the user is in\"\n }\n}\n\nIf the information does not exists, provide an empty string." "variableId": "vabp22hjq8st3roj9qo8lbub3",
}, "isRequired": false
{ "role": "user", "content": "{{last utterance}}" }
],
"responseMapping": [
{
"item": "Message content",
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
} }
] ]
} }
}, },
{
"id": "xwxh1vqghkhe9ipmdm07p3is",
"type": "Set variable",
"options": {
"variableId": "vabp22hjq8st3roj9qo8lbub3",
"expressionToEvaluate": "JSON.parse({{Assistant message}}).business"
}
},
{ {
"id": "r860fira9zqst6vw5c83buh1", "id": "r860fira9zqst6vw5c83buh1",
"type": "Condition", "type": "Condition",
@ -165,7 +152,7 @@
"messages": [ "messages": [
{ {
"role": "system", "role": "system",
"content": "Your job is to know the user current business.\n\nDo your best to collect that information.\n\nProvide short answers with a casual tone." "content": "Your only job is to collect user's business information. Nothing else.\n\nProvide short answers with a casual tone.\n\nTry to reassure the user and always end your message by asking what's the current user's business."
}, },
{ {
"role": "assistant", "role": "assistant",
@ -196,7 +183,7 @@
{ {
"id": "iwhknwvhh53jbw83fu5wgfen", "id": "iwhknwvhh53jbw83fu5wgfen",
"title": "Revenue", "title": "Revenue",
"graphCoordinates": { "x": 969.61, "y": 149.26 }, "graphCoordinates": { "x": 995.88, "y": 377.98 },
"blocks": [ "blocks": [
{ {
"id": "qwjk8w0249ijb9x6hvna5vgo", "id": "qwjk8w0249ijb9x6hvna5vgo",
@ -250,34 +237,21 @@
"options": { "variableId": "vct90f8lq4uuyqupv6qco5jfq" } "options": { "variableId": "vct90f8lq4uuyqupv6qco5jfq" }
}, },
{ {
"id": "r3qf1l12ml1zh9n6uikf6gp3", "id": "tfpnyw09powo19vt0g0f3usk",
"type": "mistral", "type": "mistral",
"options": { "options": {
"action": "Create chat completion", "action": "Generate variables",
"model": "mistral-medium", "model": "mistral-large-latest",
"messages": [ "prompt": "Extract the information based on user's previous answer:\n\n\"{{last utterance}}\"",
"variablesToExtract": [
{ {
"role": "system", "type": "string",
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"average_revenue\": {\n \"type\": \"string\",\n \"description\": \"The user's average revenue\"\n }\n}\n\nIf the information does not exists, provide an empty string." "variableId": "vuffpsxxfqujokeyh10hfm65p",
}, "isRequired": false
{ "role": "user", "content": "{{last utterance}}" }
],
"responseMapping": [
{
"item": "Message content",
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
} }
] ]
} }
}, },
{
"id": "u3iezgunlf653o66g6f61itx",
"type": "Set variable",
"options": {
"variableId": "vuffpsxxfqujokeyh10hfm65p",
"expressionToEvaluate": "JSON.parse({{Assistant message}}).average_revenue"
}
},
{ {
"id": "ptei3e0lcwfpo1q8umygnga8", "id": "ptei3e0lcwfpo1q8umygnga8",
"type": "Condition", "type": "Condition",
@ -306,11 +280,11 @@
"messages": [ "messages": [
{ {
"role": "system", "role": "system",
"content": "Your job is to know the user average yearly revenue\n\nDo your best to collect that information.\n\nProvide short answers with a casual tone." "content": "Your only job is to collect user's average revenue per year. Nothing else.\n\nProvide short answers with a casual tone.\n\nTry to reassure the user and always end your message by asking what's the current user's average yearly revenu."
}, },
{ {
"role": "assistant", "role": "assistant",
"content": "What's your current business?" "content": "What's your average revenue per year?"
}, },
{ "role": "user", "content": "{{last utterance}}" } { "role": "user", "content": "{{last utterance}}" }
], ],
@ -337,7 +311,7 @@
{ {
"id": "w1fxjymnv9v6zdvleaa0wts6", "id": "w1fxjymnv9v6zdvleaa0wts6",
"title": "Interest in SEO", "title": "Interest in SEO",
"graphCoordinates": { "x": 1349.17, "y": 155.47 }, "graphCoordinates": { "x": 1375.44, "y": 384.19 },
"blocks": [ "blocks": [
{ {
"id": "w5x7e2m30y58586jpm1zra4j", "id": "w5x7e2m30y58586jpm1zra4j",
@ -392,41 +366,29 @@
} }
}, },
{ {
"id": "r20ryth0rugk6ysixpngj9c6", "id": "lnsv798yj73ai3mill4huwyq",
"outgoingEdgeId": "ohz6k1woo8y2g0ib5i4l8tyx",
"type": "mistral", "type": "mistral",
"options": { "options": {
"action": "Create chat completion", "action": "Generate variables",
"model": "mistral-medium", "model": "mistral-large-latest",
"messages": [ "prompt": "Extract the information based on user's previous answer:\n\n\"{{last utterance}}\"",
"variablesToExtract": [
{ {
"role": "system", "type": "string",
"content": "You are an assistant that generates JSON. You always return JSON with no additional description or context.\n\nYour answer should match this JSON schema:\n\n{\n \"seo_interest\": {\n \"type\": \"string\",\n \"description\": \"A summary of the reason why the user is interested in SEO\"\n }\n}\n\nIf the information does not exists, provide an empty string." "variableId": "vvmh29a0tgn5ugzhnxzqth546",
}, "description": "Why the user is interested in SEO right now",
{ "role": "user", "content": "{{last utterance}}" } "isRequired": true
],
"responseMapping": [
{
"item": "Message content",
"variableId": "vaut2rkwqv5gwwihthbk7uhqd"
} }
] ]
} }
},
{
"id": "zi7j7e5jm3dxjwkw3jagknyy",
"outgoingEdgeId": "uqtn3tka6th5eh2gchevr5qn",
"type": "Set variable",
"options": {
"variableId": "vvmh29a0tgn5ugzhnxzqth546",
"expressionToEvaluate": "JSON.parse({{Assistant message}}).seo_interest"
}
} }
] ]
}, },
{ {
"id": "bndagu5imd89vi5kdvlpi8py", "id": "bndagu5imd89vi5kdvlpi8py",
"title": "Booking", "title": "Booking",
"graphCoordinates": { "x": 1741.11, "y": 152.18 }, "graphCoordinates": { "x": 1767.38, "y": 380.9 },
"blocks": [ "blocks": [
{ {
"id": "ewu53md22e3izomzy7czqf4x", "id": "ewu53md22e3izomzy7czqf4x",
@ -492,12 +454,12 @@
] ]
}, },
{ {
"id": "s0h5ia9ntolcu58kduuwxl5p", "id": "obcf7n03hrbuz45hxudp7vyg",
"title": "", "title": "",
"graphCoordinates": { "x": 291.9, "y": -304.36 }, "graphCoordinates": { "x": 269.38, "y": -8.11 },
"blocks": [ "blocks": [
{ {
"id": "qrxehakom6ig3s1zg4n5mlt5", "id": "j87l3ef5tpji9lpqeb1x1jab",
"type": "text", "type": "text",
"content": { "content": {
"richText": [ "richText": [
@ -513,7 +475,7 @@
} }
}, },
{ {
"id": "mwe2voc2n4ioanai2auyrvzi", "id": "xsfpajnunr48xf9niv1zuoiv",
"type": "text", "type": "text",
"content": { "content": {
"richText": [ "richText": [
@ -529,8 +491,7 @@
} }
}, },
{ {
"id": "r5m1dsd7yjyzzmw017ce1syy", "id": "fwrkxexujzmud7p02ehm8s79",
"outgoingEdgeId": "i71agoe5gvra0enfznfxvde6",
"type": "text", "type": "text",
"content": { "content": {
"richText": [ "richText": [
@ -594,14 +555,14 @@
"to": { "groupId": "w1fxjymnv9v6zdvleaa0wts6" } "to": { "groupId": "w1fxjymnv9v6zdvleaa0wts6" }
}, },
{ {
"id": "uqtn3tka6th5eh2gchevr5qn", "id": "ohz6k1woo8y2g0ib5i4l8tyx",
"from": { "blockId": "zi7j7e5jm3dxjwkw3jagknyy" }, "from": { "blockId": "lnsv798yj73ai3mill4huwyq" },
"to": { "groupId": "bndagu5imd89vi5kdvlpi8py" } "to": { "groupId": "bndagu5imd89vi5kdvlpi8py" }
}, },
{ {
"id": "m77o21luo3uzqvgybje01yo1",
"from": { "eventId": "mb3o7c0khkqp5mzf1zifdc65" }, "from": { "eventId": "mb3o7c0khkqp5mzf1zifdc65" },
"to": { "groupId": "s0h5ia9ntolcu58kduuwxl5p" } "to": { "groupId": "obcf7n03hrbuz45hxudp7vyg" },
"id": "aauahl2wn37wghyr0ndd6v51"
} }
], ],
"variables": [ "variables": [
@ -644,8 +605,8 @@
"theme": {}, "theme": {},
"selectedThemeTemplateId": null, "selectedThemeTemplateId": null,
"settings": {}, "settings": {},
"createdAt": "2024-04-23T14:17:59.435Z", "createdAt": "2024-06-20T08:57:49.568Z",
"updatedAt": "2024-04-23T14:20:53.922Z", "updatedAt": "2024-06-20T10:05:01.573Z",
"icon": "🤓", "icon": "🤓",
"folderId": null, "folderId": null,
"publicId": null, "publicId": null,

View File

@ -21,7 +21,7 @@
"@typebot.io/js": "workspace:*", "@typebot.io/js": "workspace:*",
"@typebot.io/nextjs": "workspace:*", "@typebot.io/nextjs": "workspace:*",
"@typebot.io/prisma": "workspace:*", "@typebot.io/prisma": "workspace:*",
"ai": "3.1.34", "ai": "3.2.1",
"bot-engine": "workspace:*", "bot-engine": "workspace:*",
"cors": "2.8.5", "cors": "2.8.5",
"google-spreadsheet": "4.1.1", "google-spreadsheet": "4.1.1",
@ -68,4 +68,4 @@
"typescript": "5.4.5", "typescript": "5.4.5",
"zod": "3.22.4" "zod": "3.22.4"
} }
} }

View File

@ -20,7 +20,7 @@
"@typebot.io/variables": "workspace:*", "@typebot.io/variables": "workspace:*",
"@udecode/plate-common": "30.4.5", "@udecode/plate-common": "30.4.5",
"@typebot.io/logic": "workspace:*", "@typebot.io/logic": "workspace:*",
"ai": "3.1.34", "ai": "3.2.1",
"chrono-node": "2.7.6", "chrono-node": "2.7.6",
"date-fns": "2.30.0", "date-fns": "2.30.0",
"date-fns-tz": "2.0.0", "date-fns-tz": "2.0.0",
@ -42,4 +42,4 @@
"@types/nodemailer": "6.4.14", "@types/nodemailer": "6.4.14",
"@types/qs": "6.9.7" "@types/qs": "6.9.7"
} }
} }

View File

@ -18,7 +18,7 @@
"@anthropic-ai/sdk": "0.20.6", "@anthropic-ai/sdk": "0.20.6",
"@ai-sdk/anthropic": "0.0.21", "@ai-sdk/anthropic": "0.0.21",
"@typebot.io/openai-block": "workspace:*", "@typebot.io/openai-block": "workspace:*",
"ai": "3.1.34", "ai": "3.2.1",
"ky": "1.2.4" "ky": "1.2.4"
} }
} }

View File

@ -14,6 +14,6 @@
"typescript": "5.4.5" "typescript": "5.4.5"
}, },
"dependencies": { "dependencies": {
"ai": "3.1.34" "ai": "3.2.1"
} }
} }

View File

@ -16,7 +16,7 @@
"dependencies": { "dependencies": {
"@ai-sdk/mistral": "0.0.18", "@ai-sdk/mistral": "0.0.18",
"@typebot.io/openai-block": "workspace:*", "@typebot.io/openai-block": "workspace:*",
"ai": "3.1.34", "ai": "3.2.1",
"ky": "1.2.4" "ky": "1.2.4"
} }
} }

View File

@ -8,7 +8,7 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@ai-sdk/openai": "0.0.31", "@ai-sdk/openai": "0.0.31",
"ai": "3.1.34", "ai": "3.2.1",
"openai": "4.47.1" "openai": "4.47.1"
}, },
"devDependencies": { "devDependencies": {

105
pnpm-lock.yaml generated
View File

@ -424,8 +424,8 @@ importers:
specifier: workspace:* specifier: workspace:*
version: link:../../packages/prisma version: link:../../packages/prisma
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
bot-engine: bot-engine:
specifier: workspace:* specifier: workspace:*
version: link:../../packages/deprecated/bot-engine version: link:../../packages/deprecated/bot-engine
@ -757,8 +757,8 @@ importers:
specifier: 30.4.5 specifier: 30.4.5
version: 30.4.5(@types/react@18.2.15)(immer@10.0.2)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)(slate-history@0.100.0)(slate-hyperscript@0.100.0)(slate-react@0.102.0)(slate@0.102.0) version: 30.4.5(@types/react@18.2.15)(immer@10.0.2)(react-dom@18.2.0)(react@18.2.0)(scheduler@0.23.0)(slate-history@0.100.0)(slate-hyperscript@0.100.0)(slate-react@0.102.0)(slate@0.102.0)
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
chrono-node: chrono-node:
specifier: 2.7.6 specifier: 2.7.6
version: 2.7.6 version: 2.7.6
@ -1297,8 +1297,8 @@ importers:
specifier: workspace:* specifier: workspace:*
version: link:../openai version: link:../openai
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
ky: ky:
specifier: 1.2.4 specifier: 1.2.4
version: 1.2.4 version: 1.2.4
@ -1364,8 +1364,8 @@ importers:
packages/forge/blocks/difyAi: packages/forge/blocks/difyAi:
dependencies: dependencies:
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
devDependencies: devDependencies:
'@typebot.io/forge': '@typebot.io/forge':
specifier: workspace:* specifier: workspace:*
@ -1417,8 +1417,8 @@ importers:
specifier: workspace:* specifier: workspace:*
version: link:../openai version: link:../openai
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
ky: ky:
specifier: 1.2.4 specifier: 1.2.4
version: 1.2.4 version: 1.2.4
@ -1494,8 +1494,8 @@ importers:
specifier: 0.0.31 specifier: 0.0.31
version: 0.0.31(zod@3.22.4) version: 0.0.31(zod@3.22.4)
ai: ai:
specifier: 3.1.34 specifier: 3.2.1
version: 3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4) version: 3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4)
openai: openai:
specifier: 4.47.1 specifier: 4.47.1
version: 4.47.1 version: 4.47.1
@ -2086,22 +2086,6 @@ packages:
zod: 3.22.4 zod: 3.22.4
dev: false dev: false
/@ai-sdk/provider-utils@0.0.13(zod@3.22.4):
resolution: {integrity: sha512-cB2dPm9flj+yin5sjBLFcXdW8sZtAXLE/OLKgz9uHpHM55s7mnwZrDGfO6ot/ukHTxDDJunZLW7qSjgK/u0F1g==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.0.0
peerDependenciesMeta:
zod:
optional: true
dependencies:
'@ai-sdk/provider': 0.0.10
eventsource-parser: 1.1.2
nanoid: 3.3.6
secure-json-parse: 2.7.0
zod: 3.22.4
dev: false
/@ai-sdk/provider-utils@0.0.15(zod@3.22.4): /@ai-sdk/provider-utils@0.0.15(zod@3.22.4):
resolution: {integrity: sha512-eTkIaZc/Ud96DYG40lLuKWJvZ2GoW/wT4KH9r1f3wGUhj5wgQN+bzgdI57z60VOEDuMmDVuILVnTLFe0HNT5Iw==} resolution: {integrity: sha512-eTkIaZc/Ud96DYG40lLuKWJvZ2GoW/wT4KH9r1f3wGUhj5wgQN+bzgdI57z60VOEDuMmDVuILVnTLFe0HNT5Iw==}
engines: {node: '>=18'} engines: {node: '>=18'}
@ -2125,25 +2109,27 @@ packages:
json-schema: 0.4.0 json-schema: 0.4.0
dev: false dev: false
/@ai-sdk/react@0.0.1(react@18.2.0)(zod@3.22.4): /@ai-sdk/react@0.0.4(react@18.2.0)(zod@3.22.4):
resolution: {integrity: sha512-y6KXzxRR7vmAgDVnS/hnLPt3RztvWOisANBw47O1o1D2nDeUqTo8E/SNw2J8mzzlRInGaw40EREY8jEf9AcwWQ==} resolution: {integrity: sha512-YPvp81onTxNlnOWolyjvappS5y9pMkZwWKMxrqwMimaJI4NWquPrAeHCYqzaVAb/+RKaveEGSvyYs/SD8AO6ig==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
react: ^18 || ^19 react: ^18 || ^19
zod: ^3.0.0
peerDependenciesMeta: peerDependenciesMeta:
react: react:
optional: true optional: true
zod:
optional: true
dependencies: dependencies:
'@ai-sdk/provider-utils': 0.0.13(zod@3.22.4) '@ai-sdk/provider-utils': 0.0.15(zod@3.22.4)
'@ai-sdk/ui-utils': 0.0.1(zod@3.22.4) '@ai-sdk/ui-utils': 0.0.4(zod@3.22.4)
react: 18.2.0 react: 18.2.0
swr: 2.2.0(react@18.2.0) swr: 2.2.0(react@18.2.0)
transitivePeerDependencies: zod: 3.22.4
- zod
dev: false dev: false
/@ai-sdk/solid@0.0.1(solid-js@1.7.8)(zod@3.22.4): /@ai-sdk/solid@0.0.4(solid-js@1.7.8)(zod@3.22.4):
resolution: {integrity: sha512-5WWdoqpemYW66rMZUYF4sbDtZfF96Vt8RtrzpLv+95ZUM1nY1elxAWpHCeOyYEjWJE5+eiKpUs6Jr5mP2/gz8Q==} resolution: {integrity: sha512-1X/vauXG+V0Hsb2P8kZFKaDrderTtB/7XdHZ/UkSMzTk8k0twx9OEXgztW8Rggh51t6sdI7mUoqAY5Khvjf01w==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
solid-js: ^1.7.7 solid-js: ^1.7.7
@ -2151,7 +2137,7 @@ packages:
solid-js: solid-js:
optional: true optional: true
dependencies: dependencies:
'@ai-sdk/ui-utils': 0.0.1(zod@3.22.4) '@ai-sdk/ui-utils': 0.0.4(zod@3.22.4)
solid-js: 1.7.8 solid-js: 1.7.8
solid-swr-store: 0.10.7(solid-js@1.7.8)(swr-store@0.10.6) solid-swr-store: 0.10.7(solid-js@1.7.8)(swr-store@0.10.6)
swr-store: 0.10.6 swr-store: 0.10.6
@ -2159,8 +2145,8 @@ packages:
- zod - zod
dev: false dev: false
/@ai-sdk/svelte@0.0.1(svelte@4.2.12)(zod@3.22.4): /@ai-sdk/svelte@0.0.4(svelte@4.2.12)(zod@3.22.4):
resolution: {integrity: sha512-bpjTLKOwdcXjJzboq15etT1hdnRI1ErPZweWSsu1/LJlEFzD1M0qpZQwWHwPquYkzeppXOgsLrUZ+9D2RoC47Q==} resolution: {integrity: sha512-LVxg9/60ARX8AQIswyDx53HQlQQH91yUOThhUA0x9s2BcxgpDgDN37imynnoZbU7lvA5M9NvwlinkmUdJzUVTA==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
svelte: ^3.0.0 || ^4.0.0 svelte: ^3.0.0 || ^4.0.0
@ -2168,25 +2154,30 @@ packages:
svelte: svelte:
optional: true optional: true
dependencies: dependencies:
'@ai-sdk/provider-utils': 0.0.13(zod@3.22.4) '@ai-sdk/provider-utils': 0.0.15(zod@3.22.4)
'@ai-sdk/ui-utils': 0.0.1(zod@3.22.4) '@ai-sdk/ui-utils': 0.0.4(zod@3.22.4)
sswr: 2.1.0(svelte@4.2.12) sswr: 2.1.0(svelte@4.2.12)
svelte: 4.2.12 svelte: 4.2.12
transitivePeerDependencies: transitivePeerDependencies:
- zod - zod
dev: false dev: false
/@ai-sdk/ui-utils@0.0.1(zod@3.22.4): /@ai-sdk/ui-utils@0.0.4(zod@3.22.4):
resolution: {integrity: sha512-zOr1zIw/EH4fEQvDKsqYG3wY7GW32h8Wrx0lQpSAP59UCA4zgHBH6ogF5oj7+LUuWjT6be9S0G3l/tEPyRyxEw==} resolution: {integrity: sha512-vUfuqVOZV3MyFokAduQyJsnDP00qzyZut6mizFscXlCOmiiW3FAnu/XEnMEwCmf7yUG7O4v7Xa2zd4X1tsN5pg==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies:
zod: ^3.0.0
peerDependenciesMeta:
zod:
optional: true
dependencies: dependencies:
'@ai-sdk/provider-utils': 0.0.13(zod@3.22.4) '@ai-sdk/provider-utils': 0.0.15(zod@3.22.4)
transitivePeerDependencies: secure-json-parse: 2.7.0
- zod zod: 3.22.4
dev: false dev: false
/@ai-sdk/vue@0.0.1(vue@3.4.21)(zod@3.22.4): /@ai-sdk/vue@0.0.4(vue@3.4.21)(zod@3.22.4):
resolution: {integrity: sha512-B3qAW22FYGy1ltobnF7LiPAmARTrCkH15qjw4WAXCnvRohsYOFTDACOBEsXRfa1OHmqWsUOYeNtE/oPhK3ybqw==} resolution: {integrity: sha512-gWyvenqPi1FC8tvczKhla4pCDTVMXvXHpiIJaBn7fRNq2vO7gDSAr9O//SCSPGY3l1aUCKLgKJbbeoXiTRSGBQ==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
vue: ^3.3.4 vue: ^3.3.4
@ -2194,7 +2185,7 @@ packages:
vue: vue:
optional: true optional: true
dependencies: dependencies:
'@ai-sdk/ui-utils': 0.0.1(zod@3.22.4) '@ai-sdk/ui-utils': 0.0.4(zod@3.22.4)
swrv: 1.0.4(vue@3.4.21) swrv: 1.0.4(vue@3.4.21)
vue: 3.4.21(typescript@5.4.5) vue: 3.4.21(typescript@5.4.5)
transitivePeerDependencies: transitivePeerDependencies:
@ -10408,8 +10399,8 @@ packages:
indent-string: 5.0.0 indent-string: 5.0.0
dev: true dev: true
/ai@3.1.34(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4): /ai@3.2.1(openai@4.47.1)(react@18.2.0)(solid-js@1.7.8)(svelte@4.2.12)(vue@3.4.21)(zod@3.22.4):
resolution: {integrity: sha512-cFE33IvG3fcUwvVF932AuvFKbKsKi4YK42Vh95Nh0SpWowEumL99dHh7i3LAjS7yqvC+n8n30t+iVO66Ij5PHg==} resolution: {integrity: sha512-6C2rGQLeZmhbjPBOZy2IU8aGg2c9btL8QKWS+dT2Pyxik2ue28FbEsOWQ2O1DOG/5NLX6VM6yNXMlBem3N59Cg==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
openai: ^4.42.0 openai: ^4.42.0
@ -10427,12 +10418,12 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@ai-sdk/provider': 0.0.10 '@ai-sdk/provider': 0.0.10
'@ai-sdk/provider-utils': 0.0.13(zod@3.22.4) '@ai-sdk/provider-utils': 0.0.15(zod@3.22.4)
'@ai-sdk/react': 0.0.1(react@18.2.0)(zod@3.22.4) '@ai-sdk/react': 0.0.4(react@18.2.0)(zod@3.22.4)
'@ai-sdk/solid': 0.0.1(solid-js@1.7.8)(zod@3.22.4) '@ai-sdk/solid': 0.0.4(solid-js@1.7.8)(zod@3.22.4)
'@ai-sdk/svelte': 0.0.1(svelte@4.2.12)(zod@3.22.4) '@ai-sdk/svelte': 0.0.4(svelte@4.2.12)(zod@3.22.4)
'@ai-sdk/ui-utils': 0.0.1(zod@3.22.4) '@ai-sdk/ui-utils': 0.0.4(zod@3.22.4)
'@ai-sdk/vue': 0.0.1(vue@3.4.21)(zod@3.22.4) '@ai-sdk/vue': 0.0.4(vue@3.4.21)(zod@3.22.4)
eventsource-parser: 1.1.2 eventsource-parser: 1.1.2
json-schema: 0.4.0 json-schema: 0.4.0
jsondiffpatch: 0.6.0 jsondiffpatch: 0.6.0