Skip to content

NMar33/GPT_ChatHist_no_web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT_ChatHist_no_web

Hello 😃, thank you for being here! GPT_ChatHist_no_web is a version of GPT_ChatHist that operates without a web interface. This app is designed to store your dialogue history, allowing you to seamlessly pick up your conversations where you left off. However, for a more convenient user experience, you may prefer the version that includes a web interface.

Why it can be useful

  1. Easily resume your dialogue with ChatGPT.
  2. Access dialogue history to analyze, review, or utilize past conversations for various purposes.
  3. OpenAI does not use data submitted by customers via the API to train or improve models unless you explicitly opt-in to share your data. OpenAI's API Data Usage Policies.

Installation

  1. Clone the repository or download the source code.
  2. Create a virtual environment
python -m venv .venv
  1. Activate the virtual environment:
  • Windows:

    .venv\Scripts\activate.bat
    
  • Linux/Mac:

    source .venv/bin/activate
    
  1. Install the required packages:
pip install -r requirements.txt
  1. Change OPEN_API_KEY in config.yaml to your OpenAI API Key If you do not have an Open AI API key, please follow the Open AI blogpost.

How to use

  1. Activate the virtual environment (if not already active).
  2. Run the app:
python web_chat.py
  1. Interact with the application through the Command Line Interface (CLI).

Warnings

Every message you send will contain all previous chat history.

  1. Keep in mind that the model has a token limit (e.g., 4096 tokens for GPT-3). If your conversation exceeds this limit, you will need to truncate or remove some messages from the list to fit within the allowed token count.
  2. If your conversation is very large, it can consume a significant portion of your token limit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages