2
0
Commit Graph

227 Commits

Author SHA1 Message Date
ecec7023b9 Add Anthropic block (#1336)
Hello @baptisteArno,

As we discussed in issue #1315 we created a basic implementation of
Anthropic’s Claude AI block.
This block is based on the OpenAI block and shares a similar structure.

The most notable changes in this PR are:
- Added the Claude AI block.
- Added relevant documentation for the new block.
- Formatted some other source files in order to pass git pre-hook
checks.

Some notes to be made:
- Currently there is no way to dynamically fetch the model’s versions
since there is no endpoint provided by the SDK.
  - All pre version-3 Claude models are hard-coded constant variables.
- We have opened an issue for that on the SDK repository
[here](https://github.com/anthropics/anthropic-sdk-typescript/issues/313).
- We can implement in a new PR Claude’s new [Vision
system](https://docs.anthropic.com/claude/docs/vision) which allows for
image analysis and understanding.
  - This can be done in a later phase, given that you agree of course.


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

## Summary by CodeRabbit

- **New Features**
- Introduced the Anthropic block for creating chat messages with Claude
AI in Typebot.
- Added functionality to create chat messages using Anthropic AI SDK
with configurable options.
	- Implemented encrypted credentials for Anthropic account integration.
- Added constants and helpers for better handling of chat messages with
Anthropic models.
- Included Anthropic block in the list of enabled and forged blocks for
broader access.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Retr0-01 <contact@retr0.dev>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-12 17:53:33 +00:00
c2003dab91 ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
2fb379b102 Add "turn into" option in block context menu
Closes #1302
2024-03-05 15:46:28 +01:00
84d6c594af Add OpenRouter block
Closes #1254
2024-03-05 10:56:54 +01:00
648ec08a10 Add Together AI block (#1304)
Closes #1253
2024-03-01 15:33:22 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00
3e0d3e7724 (setVariable) Add timezone option for dates
Closes #1251
2024-02-16 10:07:29 +01:00
4f924dbb2a 💚 Fix outdated lockfile 2024-02-12 12:13:21 +01:00
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
2f6de8e22c Add ElevenLabs block (#1226)
Closes #853

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

## Summary by CodeRabbit

- **New Features**
- Introduced the ElevenLabs block for Typebot, enabling text to speech
conversion using ElevenLabs API.
- Added live tutorial videos for creating ElevenLabs and Telegram
blocks.
- Added a `docsUrl` for the OpenAI block to improve accessibility to
documentation.

- **Documentation**
- New guides and integration details for ElevenLabs and Telegram blocks.

- **Style**
	- Added ElevenLabs logos for light and dark themes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-07 17:43:11 +01:00
272adc0e24 📝 Add v2.22 newsletter 2024-02-06 15:18:02 +01:00
c6161179d0 🐛 (openai) Fix 400 error when tools array empty
Closes #1205
2024-02-02 11:03:17 +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
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
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
b68f16f4f7 Add Mistral AI block
Closes #1179
2024-01-29 09:37:19 +01:00
00dcb135f3 (editor) Actions on multiple groups
You can now select groups, move, copy, delete them easily

Closes #830, closes #1092
2024-01-29 09:37:19 +01:00
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
b412f0e4dc ⬆️ Upgrade root deps 2024-01-15 09:58:09 +01:00
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +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
244a29423b (whatsapp) Improve / fix markdown serializer
Forked remark-slate code to create Typebot's own serializer

Closes #1056
2024-01-08 08:40:25 +01:00
7d6c964a0f 🧐 Add data exploration scripts 2024-01-08 07:38:58 +01:00
a235a7accd Attempt to fix tolgee random crash due to provider not detected 2023-12-29 10:12:13 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
a6536461e5 (bot) Use ky for queries in bot to improve reliability 2023-12-20 08:31:22 +01:00
deab1a12e9 (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in
your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
2023-12-18 15:44:57 +01:00
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00
c373108b55 🐛 Fix next/image not loading in self-hosting
Closes #1083
2023-12-12 14:15:23 +01:00
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
c4f5df51d5 ⚗️ (docs) Replace Algolia search with Community Search 2023-12-05 07:52:14 +01:00
73d2e165bf 🔥 Remove VIEWER_URL_INTERNAL variable
BREAKING CHANGE: NEXT_PUBLIC_VIEWER_INTERNAL does not exist anymore as typebot.io now directly points to the viewer project
2023-11-23 15:34:19 +01:00
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +01:00
00265af0cc ⬆️ (date) Upgrade date parser package 2023-11-14 17:27:02 +01:00
dd4de582a9 Add more video supports (#1023)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Introduced a new layout option for the TextInput component.
- Added support for GUMLET and TIKTOK video content types in
VideoBubbleContent.
- Enhanced VideoUploadContent to handle new properties like aspectRatio
and maxWidth.
- Updated VideoBubble to include aspect-ratio and max-width styles based
on content properties.
- **Refactor**
- Changed the extension used for internationalization (i18n) in the VS
Code environment.
	- Modified how environment variables are accessed in tolgee.tsx.
- Updated parseVideoUrl function to include a new property
videoSizeSuggestion.
- **Chores**
- Updated the tolgeeEnv object in env.ts and added a new optional
parameter to the getRuntimeVariable function.
- Expanded video handling capabilities by introducing new video content
types and associated regular expressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Closes #978 #936 #926
2023-11-10 11:17:14 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
b2b82c48e1 ⬆️ Upgrade Sentry to mitigate security issue
https://github.com/getsentry/sentry-javascript/security?mkt_tok=Nzc2LU1KTi01MDEAAAGPNi0ooiOxT0sphdzXd6xHU63d5z5Sc75FNR8cH-6EK-zlvUsUuUqP1YsmnxivxEyXnGZS2cN8XkpuNNGi3NIfoDnwoHci-31tbyJQB8y0Cg
2023-11-06 16:24:26 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
bed8b42a2e 🧑‍💻 Migrate to Tolgee (#976)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Summary by CodeRabbit

- Refactor: Transitioned to a new translation library (`@tolgee/react`)
across the application, enhancing the localization capabilities and
consistency.
- New Feature: Introduced a JSON configuration file for application
settings, improving customization and flexibility.
- Refactor: Updated SVG attribute naming convention in the
`WhatsAppLogo` component to align with React standards.
- Chore: Adjusted the `.gitignore` file and added a new line at the end.
- Documentation: Added instructions for setting up environment variables
for the Tolgee i18n contribution dev tool, improving the self-hosting
configuration guide.
- Style: Updated the `CollaborationMenuButton` to hide the
`PopoverContent` component by scaling it down to zero.
- Refactor: Simplified error handling logic for fetching and updating
typebots in `TypebotProvider.tsx`, improving code readability and
maintenance.
- Refactor: Removed the dependency on the `parseGroupTitle` function,
simplifying the code in several components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-27 09:23:50 +02:00
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
2023-10-26 15:57:55 +02:00
797751b418 (billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





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

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
2023-10-05 16:50:17 +02:00