used to ssh to use chatgpt to ask question
Project description
chatgpt
安装
pip3 install python3-chatgpt
用法
from chatgpt.chatgpt import ChatGPT
chatgpt=ChatGPT(api_key="xxx",base_url="https:/xxx.com")
rs=chatgpt.ask("你是谁")
print(rs)
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
python3_chatgpt-0.0.2.tar.gz
(2.8 kB
view details)
File details
Details for the file python3_chatgpt-0.0.2.tar.gz
.
File metadata
- Download URL: python3_chatgpt-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26373c111cf184402a3bda492e4cac83976a04bd9010051dbb174d98195de5e |
|
MD5 | d348966ff81d4a9809f0b43d3eebcc4b |
|
BLAKE2b-256 | ae00149ae470362bbedee0df17536e528ea461399b69edceb023818a4b501cdc |