Skip to content

GPT-based chatbot that allows user to talk to a bank of news articles about companies and technologies.

Notifications You must be signed in to change notification settings

andrecharneca/news-articles-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Articles QA System

The NewsGPT is an enhanced version of ChatGPT with access to a bank of news articles from 2023. It retrieves passages from the articles and uses them to answer questions or perform tasks.

Getting Started

To get started with the NewsGPT, follow these steps:

  1. Clone the repository: git clone https://github.com/andrecharneca/news-articles-chatbot.git
  2. Enter the folder: cd news-articles-chatbot
  3. Install the required dependencies: pip install -r requirements.txt
  4. Setup your OpenAI API key: conda env config vars set OPENAI_API_KEY=[key]
  5. Deactivate and activate the env, so the key takes effect.
  6. Run the Flask app: python app.py
  7. Open your web browser and navigate to http://127.0.0.1:5000 to use the chatbot.

Usage

  1. Enter a question or query in the input box on the left side.
  2. Click the "Submit" button.
  3. The system will process the question and display the response on the right side.

Alt Text

Resources Used

Practical Info

  • If after some time using it you come across an error in Chrome saying "You don't have authorisation to visit this page", close and reopen Chrome.

About

GPT-based chatbot that allows user to talk to a bank of news articles about companies and technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published