Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

  1. Go to the OpenAI website.

  2. Click Sign Up or Sign In in the top-right corner. You may need to provide payment details for API usage. See OpenAI pricing for details.

  3. Go the API keys section.

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

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

For example:

models: {
  "GPT-4 Turbo": {
    provider: "openai",
    model: "gpt-4-1106-preview",
    apiFormat: "completion",
    stream: true,
    apiKey: "sk-....."
  }
]
  • No labels