Search-GPT is an agent assistant application that helps agents extract data from text, HTML, and websites using the OpenAI API. The extracted data can be used to answer questions or provide insights to customers.
This application was built using Node.js and various Node.js packages, such as Express, Puppeteer, Axios, and Cheerio. It also uses the OpenAI API to extract data from text and HTML.
- Extract text from a website
- Extract a specific element from an HTML page
- Extract information from text
- Login and Signup
- Store user search history
To run this application, follow these steps:
-
Clone this repository
git clone https://github.com/brocketdesign/search-GPT.git
-
Navigate to the project directory
cd search-GPT -
Install the dependencies
npm install
-
Create a
.envfile in the project root directory with the following content:COOKIE_SECRET=<your_cookie_secret> MONGODB_URL=<your_mongodb_url> OPENAI_API_KEY=<your_openai_api_key>
-
Start the application
npm start
-
Navigate to
http://localhost:8001in your browser to access the application
To use the application, follow these steps:
- Enter a URL in the input field and a question in the "Enter your question" input field.
- Click the "Submit" button.
- Wait for the application to extract data from the website.
- The extracted data will be displayed on the page.
This project is licensed under the MIT License - see the LICENSE file for details.