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 hashes)
Built Distribution
Close
Hashes for gptagent-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0c381d8d7a8347eb46b16615ea6fd5e5972aec9071eee4ef452c9a824f48681 |
|
MD5 | 3dc7beec35321e2ff8c6d3ff0cf636fa |
|
BLAKE2b-256 | 217ff8342b9daf9ba49ab0c40b354945ef68ee53367b85eed43a7ef10b6e3378 |