Closed PhoenixR49 closed 9 months ago
Hi, thanks for your suggestion, we'll support it soon.
hello, the latest version of hugchat has supported assistant, you can update hugchat
pip3 install -U hugchat
example codes:
# ... login
assistant = chatbot.search_assistant(assistant_name="ChatGpt") # assistant name list in https://huggingface.co/chat/assistants
assistant_list = chatbot.get_assistant_list_by_page(page=0)
chatbot.new_conversation(assistant=assistant, switch_to=True) # create a new conversation with assistant
Thank you very much!
Recently, Hugging Face has introduced community assistants that can be used to perform specific tasks such as generating images or assisting you with the design of your site.
I think that integrating these assistants into the API could be interesting and useful.