Skip to main content

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


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)

Uploaded Source

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

Hashes for python3_chatgpt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e26373c111cf184402a3bda492e4cac83976a04bd9010051dbb174d98195de5e
MD5 d348966ff81d4a9809f0b43d3eebcc4b
BLAKE2b-256 ae00149ae470362bbedee0df17536e528ea461399b69edceb023818a4b501cdc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page