baptisteArno / typebot.io

💬 Typebot is a powerful chatbot builder that you can self-host.
https://typebot.io
Other
7.43k stars 2.07k forks source link

Integration with Anthropic's LLMs (Claude) #1315

Closed stergios-enchatted closed 7 months ago

stergios-enchatted commented 8 months ago

Hi @baptisteArno, as I have already shared in the Discord community, we were thinking of creating a new block, integrating Anthropic's Claude into Typebot. We thought this would be very useful considering Anthropic's focus on Responsible AI. We are currently exploring this feature, after reviewing how you have implemented with the OpenAI block, and we think we could have it ready very soon. What do you think?

baptisteArno commented 8 months ago

The issue I see with this is that their product is in closed beta which means that:

stergios-enchatted commented 8 months ago

The API for Claude is publicly available as explained here: https://support.anthropic.com/en/articles/8114521-how-can-i-access-the-claude-api Anyone who is interested can create API keys through "console.anthropic.com" There is even a free Evaluation Plan that does not require entering a payment option.

Do you still think it is not worth it? Considering that their latest model, Claude 3 Opus, is considered among the best LLMs (if not the best) currently in terms of benchmark performance (https://www.anthropic.com/news/claude-3-family), we thought it would be great for any Typebot user.

baptisteArno commented 8 months ago

Oh right, that was not obvious! Perfect then. That sounds good!

Make sure that it looks like OpenAI block and make sure to use @anthropic-ai/sdk 🙏

If you have any questions, let me know!