A huggingchat python api.
Project description
hugging-chat-api
HuggingChat Python API
- ChatGPT 平替!
- 无需任何账号,中国大陆的朋友无需梯子
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.3.tar.gz
(15.4 kB
view hashes)
Built Distribution
hugchat-0.0.3-py3-none-any.whl
(16.4 kB
view hashes)