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.12.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for gptagent-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b50c4c6f27f69e0b5193d0c5a3b034a3179b5dd9d7aa9b0ac616915c87334862 |
|
MD5 | 7dc337ef1af04d97fc4c920d3ce94305 |
|
BLAKE2b-256 | d32787fffa1f6f008f51c406a26eb8ee8c3f83b775f3831e3add0584ef50396f |