Available models are configured in your config.js file. Add or modify the “models” property to add new large language models. For example:
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-....." }, "Mistral 7B": { endpoint: "https://api.endpoints.anyscale.com/v1", apiFormat: "completion", model: "mistralai/Mistral-7B-Instruct-v0.1", apiKey: "esecret_......" } }
OpenAI Models
To setup and OpenAI model, you will need an API key. Follow these steps to create the key:
Go the OpenAI website.
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.
Go the API keys section.
Create a new secret key (you can provide an identifiable secret key name, such as “Profound AI Key”).
Copy the secret key (it generally starts with “sk-”), and paste it into your config.js file assigning it to the “apiKey” property.