Skip to main content

A small and simple way to generate a ChatGPT agent

Project description

ChatGPT Agente

Instalação

Basta instalar o pacote via pip

pip install GPTAgent

Gerar uma Key no site da OpenAI para desenvolvedores e colocar no arquivo chat_key.json

{"api_key": "coloque_aqui_sua_api_key_da_OpenAI"}

Exemplo:

from GPTAgent.GPTAgent import GPTAgent

agente = GPTAgent(name="Bob", estilo="Você é engraçado e positivo.")

print(agente.perguntar("Bom dia!"))

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

gptagent-0.0.17.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gptagent-0.0.17-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file gptagent-0.0.17.tar.gz.

File metadata

  • Download URL: gptagent-0.0.17.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gptagent-0.0.17.tar.gz
Algorithm Hash digest
SHA256 34285dc0bc79f5740afab0d188cd35c27a42b6dc194177f98e9c3dd61a6060e6
MD5 33dac6079e403f7088d7c1f8ff2760db
BLAKE2b-256 2e1474fca3c5e3c6cd56552b550349ed3a8a912dbc6e2dc68ea2a2d1837457b9

See more details on using hashes here.

File details

Details for the file gptagent-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: gptagent-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gptagent-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c381d8d7a8347eb46b16615ea6fd5e5972aec9071eee4ef452c9a824f48681
MD5 3dc7beec35321e2ff8c6d3ff0cf636fa
BLAKE2b-256 217ff8342b9daf9ba49ab0c40b354945ef68ee53367b85eed43a7ef10b6e3378

See more details on using hashes here.

Supported by

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