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.16.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.16-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptagent-0.0.16.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.16.tar.gz
Algorithm Hash digest
SHA256 8e0fb969dfab1dfc7389fca6227feb60f851611f69045f9737ac6fe64d41b452
MD5 08091553c61d606bbc56b35ae41e2723
BLAKE2b-256 b3e7ae1a6f91c8e8f0bab2f1af6aaa749524b4383fb49d8a807d4f2cac1dca0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptagent-0.0.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 be723406f72141efdbba0d4df8783768879e45f8aebf60ce496fc78833eebecb
MD5 ae3b1517281760ff806cae0c781c8598
BLAKE2b-256 25cab9e39259a404c3b45bfafb9c727892d7e043956a6ad4625f37545ec716de

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