Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 979 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 979 Bytes

Screenshot 2024-09-27 at 23 33 01

Study Buddy

This repository contains a simple Flask web application that interacts with OpenAI's GPT-3.5 API. It provides a chatbot interface that allows users to input a message and receive a conversational response from the GPT-3.5 language model.

Features

  • Flask-based web server for handling HTTP requests.
  • Renders a basic HTML template (chat.html) that serves as the user interface.
  • Accepts user input via a POST request and sends it to OpenAI's GPT-3.5 API.
  • Returns the chatbot response in real-time via a JSON object.

Prerequisites

To run this project, ensure that you have the following installed:

  • Python 3.x
  • Flask
  • OpenAI Python client library

Setup and Installation

  1. Clone the repository:
    git clone https://github.com/your-repo/chatgpt-flask-app.git
    cd chatgpt-flask-app