typebot.io/packages
Stergios 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
..
bot-engine 🐛 Fix progress bar crash when input is undefined 2024-03-11 08:56:50 +01:00
deprecated (theme) Custom font option (#1268) 2024-02-20 10:36:57 +01:00
emails ♻️ Remove references to old s3 URLs 2023-12-06 07:30:47 +01:00
embeds 🚸 Add aria-label on Bubble close button (#1344) 2024-03-12 13:12:38 +00:00
env 🧑‍💻 (whatsapp) Option to modify the default interactive split message number (#1296) 2024-03-07 08:05:08 +00:00
eslint-config-custom 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
forge Add Anthropic block (#1336) 2024-03-12 17:53:33 +00:00
lib 🚸 (results) Improve submitted at field parsing 2024-03-05 10:06:42 +01:00
prisma 🐛 Fix return executeCommand result 2024-02-19 16:32:42 +01:00
radar ⬆️ Upgrade and improve plate editor 2024-02-27 10:03:55 +01:00
schemas 🐛 Fix progress bar fixed position on Bubble embed 2024-03-07 14:26:48 +01:00
scripts 📝 Add v2.23 newsletter 2024-03-04 15:16:30 +01:00
transactional 📝 Add v2.23 newsletter 2024-03-04 15:16:30 +01:00
tsconfig ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
variables 🐛 (chat) Enable prefilledVariables in preview mode 2024-02-28 14:49:04 +01:00