2
0
Commit Graph

1071 Commits

Author SHA1 Message Date
c6161179d0 🐛 (openai) Fix 400 error when tools array empty
Closes #1205
2024-02-02 11:03:17 +01:00
b660611573 🚑 Fix inline variable parsing on new line issue 2024-02-02 09:29:04 +01:00
be5482c89a 🐛 (buttons) Make sure to parse options if button has dynamic items 2024-02-01 17:40:52 +01:00
3128ebd431 🐛 Fix broken skippable file upload input 2024-02-01 16:54:47 +01:00
678e6d5c49 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
3e8e8829f1 💚 Move ky package to typebot.io/lib 2024-02-01 14:25:59 +01:00
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
2462e794c9 ⬆️ Upgrade next 2024-01-31 14:58:31 +01:00
3b27f16735 ⬆️ Upgrade google-spreadsheet and fix openapi docs g… 2024-01-31 09:54:09 +01:00
8ad4a0996c 🚸 Enable OneDrive video url parsing 2024-01-31 08:29:44 +01:00
ff9c4726cc 🚸 Rewrite the markdown deserializer to improve br… (#1198)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Updated markdown handling and serialization libraries for improved
performance and accuracy in text formatting.
- **New Features**
- Enhanced rich text and markdown conversion capabilities, providing
users with more reliable and seamless text formatting options.
- **Documentation**
- Added detailed documentation for markdown to rich text conversion and
vice versa, ensuring easier understanding and implementation for
developers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-31 08:03:13 +01:00
26872e2bac 🐛 Add max wait block timeout on WhatsApp runtime 2024-01-30 09:36:25 +01:00
6215cfbbaf (fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced file visibility options for uploaded files, allowing users
to set files as public or private.
- Added a new API endpoint for retrieving temporary URLs for files,
enhancing file accessibility.
- Expanded file upload documentation to include information on file
visibility settings.
- Updated URL validation to support URLs with port numbers and
"http://localhost".
- **Enhancements**
- Improved media download functionality by replacing the `got` library
with a custom `downloadMedia` function.
- Enhanced bot flow continuation and session start logic to support a
wider range of reply types, including WhatsApp media messages.
- **Bug Fixes**
- Adjusted file path and URL construction in the `generateUploadUrl`
function to correctly reflect file visibility settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-30 08:02:10 +01:00
8d363c0c02 (openai) Add enum support in function tools 2024-01-29 14:45:44 +01:00
4b8b80e996 👷 Change pre-commit format fix to check only 2024-01-29 12:08:11 +01:00
0817fbaebb Add Dify.AI block (#1183)
Implemented [Dify.AI](https://dify.ai) Block
- Dify Features:
-- Can Create Multiple Chat Bots
-- Assign Knowledge base/vector database to chat bots
-- Variables send by client to be used in the prompt
-- Options of custom and cloud AI LLMs to be changed with on click

- Dify API Function/Action Implemented
-- Create Chat Message (Takes in input variables, query, conversation
id, user id and returns answer, usage metadata and conversation id)

- Future Implantations with this block
-- Streaming response 
-- File Upload for GPT Vision
-- Speech to text action

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced the ability to create chat messages within the Dify
platform.
	- Added secure authentication for Dify.AI accounts.
- Implemented a new Dify.AI block with integrated chat message creation
and logo display.
	- Enabled Dify.AI block in the repository for user access.

- **Enhancements**
- Enhanced security for API key input by changing it to a password
field.

- **Documentation**
	- Included new types to support Dify AI service responses.

- **Refactor**
- Updated schema imports and array listings to include the new Dify.AI
block.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-01-29 10:52:29 +01:00
cf101d6cf6 🐛 Fix unexported Popup and Bubble from react lib 2024-01-29 09:37:19 +01:00
c23e760b39 🚸 (editor) Remove blocks pointer events only in analytics 2024-01-29 09:37:19 +01:00
b68f16f4f7 Add Mistral AI block
Closes #1179
2024-01-29 09:37:19 +01:00
d8e2b74f00 🚸 (openai) Make sure annotations are removed from assistant replies
Closes #1153
2024-01-29 09:37:19 +01:00
47af9a9a59 📝 Add env WHATSAPP_CLOUD_API_URL to possible change https://gr… (#1170)
refs #1117 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Dynamically construct API URLs for WhatsApp features using environment
variables for improved reliability and configurability.
- Updated `sendWhatsAppMessage` function to use
`env.WHATSAPP_CLOUD_API_URL` for URL construction, allowing for more
dynamic configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-01-29 09:37:19 +01:00
ef05b71869 🐛 (setVariable) Avoid octal number evalution 2024-01-29 09:37:19 +01:00
53e778e0bb 🧐 Add inspectChatSession script 2024-01-29 09:37:19 +01:00
f052b4c805 (settings) Add delay between bubbles option and typing disabling on first message 2024-01-29 09:37:19 +01:00
bf6c258edc 🚸 (editor) Add graph gesture notification 2024-01-29 09:37:19 +01:00
32927e00bf 🐛 (whatsapp) Fix first message capture regression
Closes #1168
2024-01-29 09:37:19 +01:00
2654e7277d fix OpenAi function calling with optional parameters 2024-01-22 15:53:47 -03:00
5627105ce5 🐛 (calCom) Don't delete session if chat reply has custom embed
Closes #1164
2024-01-22 14:35:12 +01:00
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
f4d315fed5 (openai) Add tools and functions support (#1167)
Closes #863

Got helped from #1162 for the implementation. Closing it in favor of
this PR.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced `CodeEditor` with additional properties for better form
control and validation.
- Introduced tools and functions in OpenAI integrations documentation
for custom JavaScript execution.
- Added capability to define and use custom JavaScript functions with
the OpenAI assistant.
- Expanded layout metadata options to include various input types and
languages.

- **Improvements**
- Updated the OpenAI actions to support new function execution features.

- **Documentation**
- Added new sections for tools and functions in the OpenAI integrations
guide.

- **Refactor**
- Refactored components and actions to integrate new features and
improve existing functionalities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-19 08:05:38 +01:00
61bfe1bb96 ️ Receive WhatsApp location (#1158)
Enable Typebot to recieve location messages via Whatsapp and parse them
into a string. Returns a string "Location: [LAT],[LON]" for the text
input block

As per
https://discord.com/channels/1155799591220953138/1193858969102450748

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced support for receiving and handling location messages in
WhatsApp integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: memarius <me-marius@web.de>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-01-18 14:01:22 +01:00
98107ee636 🐛 (web) Dynamic first host avatar not displaying in viewer 2024-01-18 11:13:45 +01:00
30d6fcc880 ✏️ Fix URL starting with postgres error message 2024-01-17 15:01:19 +01:00
8771def9a1 Customizable allowed origins 2024-01-17 09:04:07 +01:00
a44857e03b (sheets) Reset timeout after Google Sheets execution 2024-01-15 11:14:14 +01:00
0b00fa7533 (radar) Add radar cumulative keyword alternatives check 2024-01-15 10:13:55 +01:00
1c4c058e01 🐛 (editor) Fix duplicate group unique key parsing
Closes #1148
2024-01-12 14:59:28 +01:00
14858cb114 🧐 Improve suspendWorkspace script 2024-01-12 11:35:08 +01:00
1f5559fea1 🧐 Improve inspectUser script 2024-01-12 11:24:41 +01:00
409aeb12d3 🧐 Add updateUserEmail script 2024-01-12 10:45:48 +01:00
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +01:00
5d088b1e64 🐛 (whatsapp) Fix last char slicing if new line 2024-01-11 15:09:13 +01:00
5d971f7b6f 🚸 (results) Add progress bar to export results modal 2024-01-11 10:36:48 +01:00
03258e0f64 (openai) Add "Ask assistant" action
Closes #1024
2024-01-11 08:29:41 +01:00
799c694522 New QR code block (#1142) 2024-01-11 08:09:58 +01:00
9b5b277b5b 🐛 (whatsapp) Fix inline variable serializing 2024-01-11 00:14:55 +01:00
459dac4224 🔧 Allow react lib to be used with v16 2024-01-10 11:20:31 +01:00
2b2e7c72f3 🧐 Add inspectWorkspace script 2024-01-10 11:11:12 +01:00
c1c053b0d1 🛂 (radar) Loosen cumulative keywords check 2024-01-10 09:55:02 +01:00
73d68f03c1 (calCom) Add phone prefill option 2024-01-08 15:17:36 +01:00