286 Commits

Author SHA1 Message Date
Baptiste Arnaud
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
055cf03703 🚑 (typebotLink) Fix incoming linked typebot variables filling 2023-08-25 14:13:34 +02:00
Baptiste Arnaud
06ecdf040e 🐛 (sendMessage) Correctly preprocess and parse fetched bot 2023-08-24 09:11:10 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
ed77f5d124 🐛 (webhook) Fix variable list parsing in custom body
Closes #687
2023-08-18 15:57:52 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
de616ea649 🔒 Expose minimum data to NEXT_DATA json 2023-08-14 16:55:47 +02:00
Baptiste Arnaud
2b4ada007d 🐛 Normalize user inputs before comparing 2023-08-08 08:24:15 +02:00
Baptiste Arnaud
a72cb5e20d 🔊 Add debug log for item matching issue 2023-08-08 07:46:16 +02:00
Baptiste Arnaud
2c4762b57f 🚑 Add missing await on executeGroup 2023-08-07 15:37:31 +02:00
Baptiste Arnaud
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
Baptiste Arnaud
4d3f67c752 🚸 (setVariable) Rename Today setVar type to Now 2023-08-07 14:32:30 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
53e4bc2b75 Add API endpoint to update the typebot in ongoing chat session 2023-08-04 14:53:49 +02:00
Baptiste Arnaud
c534613087 🚸 (openai) Display OpenAI initial response error 2023-08-02 08:10:26 +02:00
Baptiste Arnaud
aa9f5bc732 (condition) Add regex comparison item 2023-08-01 08:20:16 +02:00
Baptiste Arnaud
c99298e49b (paymentInput) Handle Stripe redirection
Closes #631
2023-07-27 17:25:02 +02:00
Baptiste Arnaud
7942ae4751 🐛 (sendMessage) Return updated session in all cases 2023-07-24 09:21:55 +02:00
Baptiste Arnaud
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
Baptiste Arnaud
13ac46975d 🐛 Fix viewer's .env.local.example inline comment 2023-07-18 14:54:11 +02:00
Baptiste Arnaud
aa4c16dad7 Regroup database queries of /sendMessage in one place
Potentially reduces the total queries to database and it will help to migrate to Edge runtime
2023-07-18 14:31:20 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
521cb50782 Remove invalid js in meta head code 2023-07-15 16:39:45 +02:00
Baptiste Arnaud
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
6565fcc29c 🐛 (openai) Fix incompatible OpenAI types 2023-07-12 12:28:58 +02:00
Baptiste Arnaud
174d50ad1b (settings) Parse custom head code to remove invalid text nodes 2023-07-11 19:17:38 +02:00
Baptiste Arnaud
56078b4e02 🐛 (share) Enable back empty public ID for self-hosted version
Closes #576
2023-07-07 14:35:17 +02:00
Baptiste Arnaud
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
Baptiste Arnaud
92740ad2ff 🚑 Fix answer upsert on duplicate itemId 2023-07-01 22:20:22 +02:00
Baptiste Arnaud
24126ac9b8 🚑 Fix answer upsert missing groupId 2023-06-30 12:56:50 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
9658277d97 🐛 (sheets) Fix sheet block when filter is undefined 2023-06-29 15:17:51 +02:00
Baptiste Arnaud
50fcbfd95e (pixel) Add skip initialization option 2023-06-28 10:37:01 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00
Baptiste Arnaud
92f7f3cbe2 🐛 (condition) Improve comparison on dates 2023-06-27 09:18:36 +02:00
Baptiste Arnaud
c94cd1e37c 🚑 (condition) Remove null check on comparison value
Closes #572
2023-06-22 14:48:12 +02:00
Baptiste Arnaud
bfca8d9368 🐛 (openai) Fix streaming when starting with OpenAI block 2023-06-22 11:47:28 +02:00
Baptiste Arnaud
8e7479a1bd 🐛 (condition) Fix condition parsing with value "null" 2023-06-22 11:39:03 +02:00
Baptiste Arnaud
3be39cbc78 (openai) Use Vercel's AI SDK for streaming 2023-06-20 17:33:30 +02:00
Baptiste Arnaud
f1b643c5be 🔒 Revert ddos lockdown 2023-06-19 18:41:00 +02:00
Baptiste Arnaud
cec072b2a2 🐛 (conditions) Fix negative comparisons 2023-06-19 10:41:07 +02:00
Baptiste Arnaud
dcdf870308 (openai) Retry OpenAI call if status code is 503
Closes #529
2023-06-16 19:31:28 +02:00
Baptiste Arnaud
524f1565d8 🚸 (openai) Parse stream on client to correctly handle errors 2023-06-16 19:26:29 +02:00
Baptiste Arnaud
83f2a29faa (openai) Add new models and remove tiktoken
Instead of computing total tokens with tiktoken we just attempt retries after trimming the first message
2023-06-16 16:50:32 +02:00
Baptiste Arnaud
42234850ed (numberInput) Variabalize min, max, step 2023-06-15 15:20:46 +02:00
Baptiste Arnaud
d8c1a36bc0 (setVariable) Add "Moment of the day" variable value
Closes #564
2023-06-15 14:45:42 +02:00
Baptiste Arnaud
fbe63aa3f3 🚸 (sheets) Show info log instead of error when no rows are found 2023-06-15 14:42:20 +02:00
Baptiste Arnaud
290b491e53 (payment) Improve payment input amount label format
Closes #553
2023-06-09 10:44:23 +02:00
Baptiste Arnaud
ef0a2d9dc6 Add conditional choice items
Allows you to conditonnally display an item from the Buttons or the Picture choice input

Closes #546
2023-06-05 17:33:43 +02:00