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.15.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for gptagent-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dafb284d6510293f15966e810e285ba09fbd6208651713f1a0caf845f1061185 |
|
MD5 | bdda4c873a055aed8477f3c29c71100f |
|
BLAKE2b-256 | 1c6b38c4b6d210a1a81b74deda0e306c0edc802354c51388334f2ed90bf2aa85 |