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.7.tar.gz (2.8 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.7-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptagent-0.0.7.tar.gz
  • Upload date:
  • Size: 2.8 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.7.tar.gz
Algorithm Hash digest
SHA256 d4c30ee1297908e8026d7a559f17388b06feaf0dc3518ed616ad48941eec50d8
MD5 225f06e810d7155a7f41fb1f35c06d6d
BLAKE2b-256 ffc7018c18b31a7b2e24b884e9db6e5ea301a470b954758b03789df358cd0d02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptagent-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c5b29b04cdb1d42a3fea88a77a238f4049f9d4e8726389e133ad5066567e11
MD5 25114914e014e73eb42ad72a52813e61
BLAKE2b-256 5d3af2b181ca06b8569b098d08a17e2a3af76401264f7916c47e96c84bb31104

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