Skip to content

NoguchiShigeki/cli_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cli_chat

This is a simple CLI ChatGPT like assistant

This application is created using OpenAI API and Python.

Description:

This application is a CLI chatbot that uses OpenAI API (GPT-3.5-turbo or GPT-4) to generate responses.

It facilitates developer experience by allowing developers to chat with the chatbot directly from the terminal.

I (personally) highly recommend using this application in VSCode's, JetBrain's or some IDE integrated terminal.

How to use

Commands:

** Global Commands **

--help or --h: Show help message

--quit or --q: Quit the application

--gitignore or --gi: Create a .gitignore file

--save or --s: Enable the OpenAI API Key save feature

--nosave or --ns: Disable the saving feature of the API key in the cli_chat.env file

** Effective in Chat Prompt **

--new or --n: Start a new chat

WARNING:

This application generates a cli_chat.env file in the same directory as the application.

This file contains the encrypted OpenAI API KEY.

DO NOT SHARE THIS FILE WITH ANYONE.

DO NOT UPLOAD THIS FILE TO GITHUB OR ANY OTHER PLATFORM.

To prevent this file from being uploaded to GitHub, run the following command in the application cli:

--gitignore or --gi

This command will create a .gitignore file to ignore the cli_chat.env and cli_chat.py file in the same directory.

Even if you already have a .gitignore file in the same directory, this command will add the cli_chat.env and cli_chat.py file to the .gitignore file.

Donations:

ETH Address: 0xE06174d2fa3b30f17746Db3C03898f08C1b18DDc

Note:

This application creates an environment file called cli_chat.env in the same directory as the application.

This file contains the encrypted API key and the encryption key.

If you want to delete the API key stored, delete the cli_chat.env file.

Notice:

This application is not affiliated with OpenAI in any way.

Apache License 2.0 © 2023 Shigeki N

This application is created by: Shigeki N (Discord: mondayfrenzy)

About

This is a simple CLI ChatGPT like assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages