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.
- 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.
- Node.js
- npm
- OpenAI API Key
-
Clone the repository:
git clone https://github.com/your-username/openai-powered-website cd openai-powered-website
-
Install the dependencies:
npm install
-
Create a
.env
file and add your OpenAI API key:OPENAI_API_KEY=your-openai-api-key
-
Start the development server:
npm start
- 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.
- Frontend: React, CSS
- API: OpenAI API
Feel free to fork the repository, make changes, and submit pull requests.