- 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.
- Sign up for an API Key on the OpenAI website ➜ https://platform.openai.com/account/api-keys
- 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.
Edit the prompt = []
in script.js.
let prompt = [
`You are a web chat bot inside of the website: https://example.com`,
``,
].join('\n');
WebGPT uses a language model developed by OpenAI and it is not a product or service offered by OpenAI.
OpenAI ➚ | KingLabs ➚ | KingLabs discord Server ➚