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)
| File | Size | Uploaded | |
|---|---|---|---|
| gptagent-0.0.17.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|