elie222 / inbox-zero

Open source email app to reach inbox zero fast.
https://getinboxzero.com
GNU Affero General Public License v3.0
2.49k stars 254 forks source link

Add support for Anthropic LLM #170

Closed elie222 closed 6 months ago

elie222 commented 6 months ago

This adds support for Anthropic as an alternative to OpenAI for the LLM. It's a good basis for adding other AI's such as Mistral too. The call to the LLM has been encapsulated in a new function. That function handles calling the correct LLM based on the user's preferences.

What still has to happen for this to go live in the public facing app. But self-hosters can already use this feature today by setting the correct model/provider in their database, and the AI key in the .env file:

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
inbox-zero ✅ Ready (Inspect) Visit Preview Mar 18, 2024 10:20am