Chainlit / chainlit

Build Conversational AI in minutes ⚡️
https://docs.chainlit.io
Apache License 2.0
6.75k stars 875 forks source link

Support for HFAgents? #234

Open vquilon opened 1 year ago

vquilon commented 1 year ago

There is some active development to support the hugging face library agents and tools, instead of using Langchain, I have tried to make a factory, but huggingface agents return other types of objects, not just text, and it seems complicated.

willydouhard commented 1 year ago

We are working on this! Cannot commit to a release date though. Is there a particular HF agent you are trying to use with chainlit?

vquilon commented 1 year ago

Nothing in particular, We are working to understand all the libraries, and chainlit, it's super easy to use and supper fast, so we are building some interfaces with python classes to generate different chatbots.

The HFAgents are very simple and fast to use with huggingface Hub library. Langchain It doesn't have very good support for any type of model or multimodal that huggingface supports. That's why I was looking to use it with chainlit, to use all the features that chainlit already has with OpenAI, but using huggingface and its multimodal agents.

dokterbob commented 1 month ago

@vquilon Is this still relevant?