Welcome to Frnly, a highly customizable chatbot built with Golang! This project leverages OpenAI's GPT API to provide you with natural, interactive, and intelligent conversations.
Features β¨
π Text-based user interface
π¨ Highly customizable
πΎ Persistent history
π OpenAI GPT API Integration
Installation π¦
git clone https://github.com/mohakim/frnly.git
cd frnly
go build
Usage π
Starting Up: Run the frnly executable from the terminal.
User Input: Type your queries after the prompt. Use !fin to submit the query.
Clear Screen: Type !clear to clear the screen.
Exit: Type !exit to terminate the program.
Customization π
Edit the settings.conf file in the ~/.config/frnly directory to customize the assistant. Here's what each setting means:
API_KEY: Your OpenAI API key.
Temperature: Controls the randomness of the assistant's replies.
Model: The GPT model to use.
Prompt: Customize the prompt text.
CodeBlock: Code output color
UserColor: User input color
BotColor: Default assistant color
Context: Control the context size (will impact token usage)
TODO π
sessions: Allow users to create, delete, and cycle through sessions.
cross-platform: Make the program more Windows compatible.
encryption: Ensure session files are encrypted.
tokens: Measure with relevance to tokens and show usage statistics.
config: Increase the number of configuration options