A huggingchat python api.
Project description
hugging-chat-api
HuggingChat Python API
How to Use?
chatbot = ChatBot()
chatbot.chat("Hello, I am a robot.")
# 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 Distribution
hugchat-0.0.2.tar.gz
(14.7 kB
view hashes)
Built Distribution
hugchat-0.0.2-py3-none-any.whl
(15.8 kB
view hashes)