Skip to main content

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!"))

Release files for GPTAgent 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GPTAgent 0.0.17
File Size Uploaded
gptagent-0.0.17.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GPTAgent 0.0.17
File Interpreter ABI Platform
gptagent-0.0.17-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / gptagent-0.0.17.tar.gz

Download URL gptagent-0.0.17.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
34285dc0bc79f5740afab0d188cd35c27a42b6dc194177f98e9c3dd61a6060e6
BLAKE2b-256 checksum
How to use checksums
2e1474fca3c5e3c6cd56552b550349ed3a8a912dbc6e2dc68ea2a2d1837457b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / gptagent-0.0.17-py3-none-any.whl

Download URL gptagent-0.0.17-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0c381d8d7a8347eb46b16615ea6fd5e5972aec9071eee4ef452c9a824f48681
BLAKE2b-256 checksum
How to use checksums
217ff8342b9daf9ba49ab0c40b354945ef68ee53367b85eed43a7ef10b6e3378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page