2
0
Commit Graph

200 Commits

Author SHA1 Message Date
3d496e1eec 🔒 Use isolated-vm 2024-05-22 11:42:31 +02:00
15b2901f8a ♻️ (mistral) Use new ai sdk Mistral core 2024-05-21 16:08:35 +02:00
e91fced41d 🔥 Remove chat-api app 2024-05-21 15:51:49 +02:00
40f21203b5 (setVariable) Add Transcription system var (#1507)
Closes #1484
2024-05-15 14:24:55 +02:00
b4ae098440 (variables) Add session option in variables (#1490)
Closes #1488
2024-05-02 15:11:16 +02:00
dc1929e15b 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469)
…iles

Closes #1468, closes #1467, closes #1211
2024-04-24 16:11:06 +02:00
a09ccd15c1 💚 Update lock file 2024-04-21 08:46:16 +02:00
eb2001c06b 📝 Improve blog capabilities and components 2024-04-20 18:21:06 +02:00
6fe4e28bc3 📝 Add new blog structure 2024-04-19 13:20:58 +02:00
5c3c7c2b64 (theme) Add container theme options: border, shadow, filter (#1436)
Closes #1332
2024-04-10 10:19:54 +02:00
6e0388c501 🔊 Add prisma metrics to prometheus endpoint (#1420) 2024-04-06 15:08:57 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
ef10f69f92 🐛 Fix ky not working due to fetch rewriting by mistral package
Closes #1396
2024-04-03 14:35:18 +02:00
d0be29e257 🔒 Use sanitizeUrl on redirectPath auth param (#1389) 2024-03-25 19:11:39 +01:00
2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

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

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00
5b9176708c 🐛 (editor) Share groups clipboard state across tabs 2024-03-20 17:29:05 +01:00
a4c865ca26 💚 Fix embeds build and create-block CLI 2024-03-19 10:38:55 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
3ac211d74a 🐛 (anthropic) Upgrade sdk to fix stream issue 2024-03-18 10:29:37 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
3f294c9093 ⬇️ Downgrade anthropic sdk to make it compatible with ai sdk 2024-03-15 08:50:07 +01:00
ff3807a265 ⬆️ Upgrade ai package 2024-03-14 19:40:40 +01:00
eaaa840cbf 🚑 Attempt to fix crash related to codemirror 2024-03-12 20:06:46 +01:00
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