2
0
Commit Graph

43 Commits

Author SHA1 Message Date
e035a54cfc 🐛 (difyAi) Fix chunk parsing
Closes #1370
2024-03-18 18:05:35 +01:00
3ac211d74a 🐛 (anthropic) Upgrade sdk to fix stream issue 2024-03-18 10:29:37 +01:00
7d11a7dbc8 🐛 (anthropic) Fix transform functions when response mapping has Message content 2024-03-15 15:18:16 +01:00
cdbdb3546c 🚸 Remove debounce on forged block credentials…
Closes #1357
2024-03-15 15:17:07 +01:00
1202f09802 🐛 (anthropic) Fix turn into other blocks
Closes #1356
2024-03-15 15:17:07 +01:00
968abf5243 🚸 (calCom) Fix embed responsivity
Closes #1210
2024-03-15 15:16:53 +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
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
59cf993146 🐛 Fix back button refreshing the page when typebot in folder
Closes #1297
2024-03-07 14:26:48 +01:00
c2003dab91 ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
0f96440cf9 (calCom) Add additional notes prefill option 2024-03-06 10:11:49 +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
022a320e7e 🚸 (elevenLabs) Only show text-to-speech compatible models 2024-03-05 09:50:33 +01:00
648ec08a10 Add Together AI block (#1304)
Closes #1253
2024-03-01 15:33:22 +01:00
fe98f2a9b6 🚸 (chatnode) Add proper error message handling 2024-02-24 13:22:50 +01:00
6735eccb50 🐛 (dify) Fix issue when receiving "event" chunk 2024-02-19 09:49:15 +01:00
3e0d3e7724 (setVariable) Add timezone option for dates
Closes #1251
2024-02-16 10:07:29 +01:00
d171aa600c (dify) Make sure Dify also works with agent assistants 2024-02-14 08:59:05 +01:00
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
1b2876daef ️(dify) Include empty files require field
Required files variable to be sent even if empty in DifyAI v5.x+

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

## Summary by CodeRabbit

- **Refactor**
	- Enhanced chat message creation to support future file attachments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-08 17:20:53 +01:00
d91e212a75 🚸 (elevenlabs) Add set variable indication 2024-02-08 09:05:44 +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
83231e6f13 🐛 (calCom) Make sure Cal.com book event is emitted once per block 2024-02-06 16:08:08 +01:00
c6161179d0 🐛 (openai) Fix 400 error when tools array empty
Closes #1205
2024-02-02 11:03:17 +01:00
3b27f16735 ⬆️ Upgrade google-spreadsheet and fix openapi docs g… 2024-01-31 09:54:09 +01:00
8d363c0c02 (openai) Add enum support in function tools 2024-01-29 14:45:44 +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
d8e2b74f00 🚸 (openai) Make sure annotations are removed from assistant replies
Closes #1153
2024-01-29 09:37:19 +01:00
2654e7277d fix OpenAi function calling with optional parameters 2024-01-22 15:53:47 -03: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
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
73d68f03c1 (calCom) Add phone prefill option 2024-01-08 15:17:36 +01:00
65f4fb0d7a 📝 Add Contribute docs 2024-01-03 16:29:41 +01:00
64fc59bd3a 🚑 Fix invalid timeout for long running integrations 2023-12-19 14:24:36 +01:00
06b7f40924 🐛 (chatNode) Fix default responseMapping item run 2023-12-15 16:34:57 +01:00
8c4eec4b20 add specific link for ChatNode to TypeBot (#1106) 2023-12-14 21:52:13 +01:00
fbddddcfa0 🚑 Release new embed lib version and fix createId dep… 2023-12-13 11:49:03 +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