/WebGPT

Ai chat assistant webpage that utilises OpenAI.

Primary LanguageCSSMIT LicenseMIT

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