Skip to content

KingLabs-x/WebGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPT

Features

  • Customizable to fit the specific needs.
  • Natural language processing to understand and respond to user queries.

This is just a base template, you will need to develop it further.

Getting Started

  1. Sign up for an API Key on the OpenAI website ➜ https://platform.openai.com/account/api-keys
  2. Paste your API Key into script.js on line: 6
const apiKey = ''; // Your OpenAI API Key

Please note that you will need to secure your API key in the code.

How do i customize WebGPT for my specific needs?

Edit the prompt = [] in script.js.

let prompt = [
  `You are a web chat bot inside of the website: https://example.com`,
  ``,
].join('\n');

Disclaimer

WebGPT uses a language model developed by OpenAI and it is not a product or service offered by OpenAI.

Links

OpenAI ➚ | KingLabs ➚ | KingLabs discord Server