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 Distribution
hugchat-0.0.5.1.tar.gz
(15.3 kB
view hashes)
Built Distribution
hugchat-0.0.5.1-py3-none-any.whl
(15.2 kB
view hashes)
Close
Hashes for hugchat-0.0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8198d911f1744c194bbb7d71cea321ad765cfd9e5983bcd7beca1b2c958d7b9d |
|
MD5 | 7b6b934675a42ef9ad4b0511e533a998 |
|
BLAKE2b-256 | 7348a230d259dac965a639c3ee8b27d9c06f0fe23e33ccf7908af2793e07d172 |