Skip to main content

LLM Providers

LLM (Large Language Model) providers supply the AI used by BrainScore to generate questions and answers for examinations. You configure one or more providers (e.g., OpenAI) and optionally set a default provider for AI generation.

Where to Find It

  • Admin Panel → LLM Providers: List, edit providers

Overview

  • List: View all LLM providers; search by name or alias; filter by status (active/inactive)
  • Edit: Update name, alias, logo, API key, status, or default
  • Only active providers can be used for AI generation
  • Default provider: Exactly one provider can be set as default; it is used when no provider is selected (e.g., in “Generate with AI”). The default provider must be active

List LLM Providers

The list shows each provider’s name, alias, logo, status, and last update. Use search and status filter to find providers.


Edit LLM Provider

  • Name, Alias, Logo (optional on edit), API Key, Status, Is Default can be updated
  • If you set Is Default, the previous default is cleared and this provider must be active
  • Keep API Key secure; in demo mode the key may be hidden in the UI

How It’s Used

  • When you use Generate with AI for examination questions (from the examination’s questions section), you choose a Prompt and an LLM Provider
  • If you do not choose a provider, the default LLM provider is used (if set and active)
  • The app sends the prompt (and variables) to the selected provider’s API and parses the response into questions and answers

Important Notes

  • API Key: Required for each provider. Get it from the provider’s dashboard (e.g., OpenAI).
  • Default: Only one provider can be default; it must be active.
  • Security: Do not share API keys; they are stored in your database and used server-side only.
  • Cost: Usage is billed by the provider (e.g., OpenAI). Monitor usage in the provider’s dashboard.
  • Prompts: AI generation also depends on Prompts (see Prompts). Create and activate at least one prompt for the question types you use.