Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Available models are configured in your config.js file. Add or modify the “models” property to add new large language models. For example:

Code Block
languagejs
models: {
  "GPT-4 Turbo": {
    provider: "openai",
    model: "gpt-4-1106-preview",
    apiKey: "sk-....."
  },
  "GPT-3.5 Turbo": {
    provider: "openai",
    model: "gpt-3.5-turbo-1106",
    apiKey: "sk-....."
  }
}

To setup and OpenAI model, you will need an API key. Follow these steps to create the key:

  1. Go the OpenAI website

  2. Click Sign Up or Sign In in the top-right corner

  3. Go the API keys section

  4. Create a new secret key (you can provide an identifiable secret key name, such as “Profound AI”)

  5. Copy the secret key (it generally starts with “sk-”), and paste it into your config.js file