frnly

command module
v0.0.0-...-18ff960 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

README ΒΆ

Frnly Chatbot πŸ€–πŸ’¬

Table of Contents πŸ“

Introduction 🌟

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.

Demo

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
  • error-handling: Improve resilience to errors

Pre-requisites πŸ“œ

  • GoLang >= 1.16
  • OpenAI API Key

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL