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.16.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.16.tar.gz.
File metadata
- Download URL: gptagent-0.0.16.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 |
8e0fb969dfab1dfc7389fca6227feb60f851611f69045f9737ac6fe64d41b452
|
|
| MD5 |
08091553c61d606bbc56b35ae41e2723
|
|
| BLAKE2b-256 |
b3e7ae1a6f91c8e8f0bab2f1af6aaa749524b4383fb49d8a807d4f2cac1dca0a
|
File details
Details for the file gptagent-0.0.16-py3-none-any.whl.
File metadata
- Download URL: gptagent-0.0.16-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 |
be723406f72141efdbba0d4df8783768879e45f8aebf60ce496fc78833eebecb
|
|
| MD5 |
ae3b1517281760ff806cae0c781c8598
|
|
| BLAKE2b-256 |
25cab9e39259a404c3b45bfafb9c727892d7e043956a6ad4625f37545ec716de
|