A huggingchat python api.
Project description
hugging-chat-api
HuggingChat Python API
Leave a star :)
How to Use
pip install hugchat
from hugchat import hugchat
chatbot = hugchat.ChatBot()
print(chatbot.chat("HI"))
# New a conversation (ignore error)
id = chatbot.new_conversation()
chatbot.change_conversation(id)
# Get conversation list
conversation_list = chatbot.get_conversation_list()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
hugchat-0.0.1-py3.10.egg
(5.1 kB
view hashes)