Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.45 KB

Readme.md

File metadata and controls

73 lines (50 loc) · 2.45 KB

OpenAI-Powered Website

This website leverages the OpenAI API to offer a variety of functionalities similar to ChatGPT. The possible features include Q&A, language translation, grammar correction, image generation, text summarization, database query generation, and movie summarization.

Features and Functionalities

  • Q&A: Interact with the website to get answers to various questions.
  • Language Translation: Translate text between different languages.
  • Grammar Correction: Check and correct grammar in the provided text.
  • Image Generation: Generate images based on textual descriptions.
  • Text Summarization: Summarize lengthy texts.
  • Database Query Generator: Generate SQL queries from natural language descriptions.
  • Summary of Movie: Get concise summaries of movies.

Getting Started

Prerequisites

  • Node.js
  • npm
  • OpenAI API Key

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/openai-powered-website
    cd openai-powered-website
  2. Install the dependencies:

    npm install
  3. Create a .env file and add your OpenAI API key:

    OPENAI_API_KEY=your-openai-api-key
  4. Start the development server:

    npm start

Usage

  • Q&A: Type your question in the input box and get an answer.
  • Language Translation: Select the target language and enter the text to be translated.
  • Grammar Correction: Paste the text you want to check and get suggestions for corrections.
  • Image Generation: Enter a description of the image you want to generate.
  • Text Summarization: Paste a long text and get a summarized version.
  • Database Query Generator: Describe the query you need, and get the corresponding SQL statement.
  • Summary of Movie: Enter the movie name to get a brief summary.

Technologies Used

  • Frontend: React, CSS
  • API: OpenAI API

Screenshot 2024-07-09 223422 Screenshot 2024-07-09 225412 Screenshot 2024-07-09 230431 Screenshot 2024-07-09 230447

Contribution

Feel free to fork the repository, make changes, and submit pull requests.