Bachmann1234 / chatbotCli

Interface to chat GBT using Bubbletea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatbotCli

Interface to chat GPT using Bubbletea

A chance to play with BubbleTea, Golang, and ChatGPT

Requires the following environment variable to be set:

OPENAI_API_KEY This is so it can talk to the OPENAI API

You can also set CHATBOT_LOGS this is where chat logs will save.

The program will will be a conversation between you and chatgpt. You can customize the prompt by passing in the -prompt flag

chatbotCli -prompt "You are the coolest bot in the world"

Example coversation

Quit at any time with ctrl-c. Your chat will be saved as a markdown file in either the current directory or the directory specified by CHATBOT_LOGS Example of a recorded log

About

Interface to chat GBT using Bubbletea

License:GNU General Public License v3.0


Languages

Language:Go 100.0%