Skip to content

OskarFranck/terminal_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBOT (openAI) in your terminal

Disclaimer

Ad hoc created chatBOT cli tool.
Do you want standards, conventions and best practice?
Then this is not for you 😠

This project is still a 'WIP'\

Prerequisites

Ruby installed
Api key from OpenAI

Installation

gem install ask-ai

You can then start an interactive session with:

ask-ai

Configure your API key\

config key <key>

Usage

Start your interactive session with:

ask-ai

You can load a file with -lf path_to_file then you can ask question about the file.
Don't forget to use -f when you want to ask about a file.
(As of now you can only load files that can be read line by line, like txt, yml or code)

ruby_file

or something like

sql_file

You can load more then one file, just be aware that a lot of input consumes more tokens.
To delete files from context use -df to delete one or all loaded files.

You can also use it as chat bot, it by default save 10 Input / Output as a context

pasta

You can delete the conversation with:

clear

For all available commands type:

help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages