[NEW] Assistants

#357
by victor HF staff - opened
Hugging Chat org
β€’
edited Mar 15, 2024

image.png

March 15th update: 🌐Internet Access for Assistants

Assistants on HuggingChat

Today we are releasing Assistants on HuggingChat!

Assistants are a fun way to package your prompts and share them with the world.

Browse featured Assistants here: https://huggingface.co/chat/assistants

Create your first Assistant

Create your first Assistant using this form: https://huggingface.co/chat/settings/assistants/new
All you have to do is choose a model, a name, and a system prompt and you are ready to go! Note that all Assistants are public by default with the author's name.

The most powerful feature of Assistants is that they are based on open source models (of course!), so don't hesitate to switch between one of the 6 available models to see which one better suits the type of Assistant you want!

Share your Assistants with the community

The easiest way to make people try your Assistant is simply to share its direct URL present in the Assistant setting.

If you want to share your Assistants with the community or give advice on how to create one, use the dedicated thread and get a chance to be featured on the Assistants page:

https://huggingface.co/spaces/huggingchat/chat-ui/discussions/356

Potential future features

A list of interesting features that could be added, add yours to this thread and I'll update this message.

  • Improve some UI + UX flows (main priority)
  • Add a /assistants/{username} route to see all Assistants for a given user name
  • Being able to change model params for assistants (temperature, repetition penalty, ...)
  • Improve assistant creation for beginners (maybe with a step-by-step wizard or an assistant that creates other assistants)
  • Having a better way to test your Assistants during creation/edition
  • Being able to see the current used token count while editing your Assistant
  • Edit your Assistants via API, so you can always push up-to-date information to them.
  • Generate your Thumbnail Assistant via AI
  • Add RAG (and web search) to Assistant?
  • Continually add new models to HuggingChat and Assistants
  • A way to suggest changes on other users Assistants
  • Fork/duplicate Assistants
  • Prompts versioning
  • Allow you to use your own models onto your assistant (longer term)

Terms of use

Please note that you can report Assistants from the Assistant Settings page. Any assistant who is not respectful will be banned from HuggingChat immediately. The goal is to keep the community as caring and respectful as it has always been.

victor pinned discussion

+1 on Add RAG (and web search)

+1 on Add RAG (and web search)

+2 πŸ”₯

Add function calling capability

Two features that would make assistants infinitely more useful:

  1. Function Calling - Capability w/User Defined functions endpoints. (ie. user could provide function calling schema + REST endpoints for function calling)
  2. RAG - Ability to upload documents (PDF, txt, URLs) that are chunked and stored into a VectorDB for RAG with the assistant.

How do Assistants work under the hood? Do they use OpenGPTs from Langchain?
Happy about a link to the docs or something

How do Assistants work under the hood? Do they use OpenGPTs from Langchain?
Happy about a link to the docs or something

Ok just checked out the source code, doesn't look like OpenGPTs but their own thing

Amazing!

Amazing! I created an Assistant but it isn't showing up on the list, does it only show popular ones?

It's great, I love this community. I created my GPT and it is working great.

I hope that in the nearer future it can be added to inclusion topics for those people who have some physical difficulty such as: vision, listening and speaking, they can use these technologies.

It’s amazing, would be great to be able to upload long documents similar to OAI GPTs, maybe using something like MemGPT?

What are the licenses on the actual Assistants created in
https://huggingface.co/chat/

Can I copy some of the assistants into my own hosted version of chat-ui?

If there are unknowns, what about at least the assistants created by the huggingface team? Can I use these? Since most of these starter assistants are created by members of huggingface.

It would just really help if I can at least get a couple of these starter ones.

A stretch goal, or further extension: Can there be a tool to let others import the assistants created under huggingchat, into our own chat-ui implementation? That would just be awesome!
Without it, it is like we are now all missing this amazing feature, and possible have a fragmented community if we ever have our own chat-ui.

thanks!

Add RAG to Assistant is surely a big deal for me.

On my own hosted version of chat-ui, a main added feature is my own RAG which I call "knowledge base" (it works the same as web search, just with RAG). Now if I can make use of this assistants feature to add my own RAG, that would be amazing!!! In fact, that is the most important next feature for my product.

thanks!

How do Assistants work under the hood? Do they use OpenGPTs from Langchain?
Happy about a link to the docs or something

Ok just checked out the source code, doesn't look like OpenGPTs but their own thing

How do Assistants work under the hood? Do they use OpenGPTs from Langchain?
Happy about a link to the docs or something

For now, it looks like its just a custom prompt. I hope RAG and Function Calling will come next.