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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34285dc0bc79f5740afab0d188cd35c27a42b6dc194177f98e9c3dd61a6060e6
|
|
| MD5 |
33dac6079e403f7088d7c1f8ff2760db
|
|
| BLAKE2b-256 |
2e1474fca3c5e3c6cd56552b550349ed3a8a912dbc6e2dc68ea2a2d1837457b9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c381d8d7a8347eb46b16615ea6fd5e5972aec9071eee4ef452c9a824f48681
|
|
| MD5 |
3dc7beec35321e2ff8c6d3ff0cf636fa
|
|
| BLAKE2b-256 |
217ff8342b9daf9ba49ab0c40b354945ef68ee53367b85eed43a7ef10b6e3378
|