printfls / chatgpt-terminal

An AI-powered chat system that allows users to communicate through a terminal interface. Uses ChatGPT's API by OpenAI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

ChatGPT-terminal

An AI-powered chat system that allows users
to communicate through a terminal interface.
Uses ChatGPT's API by OpenAI.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Acknowledgments

About The Project

This project is an AI-powered chat system that is accessible through a terminal interface. It allows users to communicate with an artificial intelligence in a way that simulates human conversation. The AI is trained on a large dataset of human conversations and is designed to respond in a natural and engaging way. This terminal app is meant to be a fun and interactive way to learn more about AI and how it can be used to enhance human communication.

(back to top)

Built With

Python

(back to top)

Getting Started

To get a local copy up and running follow these simple steps.

Installation

  1. Clone the repo

    git clone https://github.com/kamillobinski/chatgpt-terminal.git
  2. Create a .env file in the root directory of the project

    cd ./chatgpt-terminal
    
    type NUL >> .env # Windows
    touch .env # UNIX/Linux
  3. Add the required environment variables to the .env file - follow this guide

    AI_SESSION_TOKEN=session_token_value
  4. Install required packages via requirements.txt

    pip install -r requirements.txt
  5. Execute app

    cd ./app    
    python main.py

(back to top)

Usage

example

(back to top)

License

Distributed under the GPL-2.0 License. See LICENSE for more information.

(back to top)

Disclaimer

This project involves the reverse engineering of an API owned by OpenAI, which may be a violation of the terms of service of the company. The author of this project is not responsible for any actions taken by users of this project, and by using this project, you acknowledge that you are doing so at your own risk. This project is for educational and research purposes only and is not intended for commercial use. The author does not endorse the use of this project for any illegal or unethical purposes.

(back to top)

Acknowledgments

The project uses tools listed below.

(back to top)

About

An AI-powered chat system that allows users to communicate through a terminal interface. Uses ChatGPT's API by OpenAI.

License:GNU General Public License v2.0


Languages

Language:Python 100.0%