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.11.tar.gz
(2.8 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.11.tar.gz.
File metadata
- Download URL: gptagent-0.0.11.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66f7244201e2835ae45277ac0a6b8b636dc14e401132ef36e3bdc9c29a12d40e
|
|
| MD5 |
d95f59e7c74ef6b30a13210dc81a2dc8
|
|
| BLAKE2b-256 |
96655f7536fb715c2257daecab1e85f3770608a532ba9ab7cee1791b32321524
|
File details
Details for the file gptagent-0.0.11-py3-none-any.whl.
File metadata
- Download URL: gptagent-0.0.11-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47412283682bfdf7a3f626aa2374afd4dcbeb70da91be3aeba7f816160e8f64e
|
|
| MD5 |
2f95548dd5dafe74cf187485391ef5b4
|
|
| BLAKE2b-256 |
2472e80403f5791faf2b76199523ab227be7bed7b6e16c583a86f14028753927
|