Skip to main content

used to ssh to use chatgpt to ask question

Project description

chatgpt

安装

pip3 install python3-chatgpt

用法

from 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.3.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file python3_chatgpt-0.0.3.tar.gz.

File metadata

  • Download URL: python3_chatgpt-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 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.3.tar.gz
Algorithm Hash digest
SHA256 5a0972c88deca6792b7b0c76b20e0370ad41fe412b4d4e701208d061453652f7
MD5 565981b85e5b94c2d45ba3aff0286c85
BLAKE2b-256 ad502c6be12f765624f8615215b6e46d1528b0bd706d0220eeea1fbe2c83c9a6

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