Skip to main content

LocalGPTSettings

The main settings interface for Local GPT plugin configuration.

Properties

object
required
AI provider configuration for different capabilities
string | null
ID of the main AI provider for text generation
string | null
ID of the embedding provider for RAG (Retrieval-Augmented Generation)
string | null
ID of the vision provider for image processing
object
required
Default settings for action execution
string
required
Default creativity level: "" (none), "low", "medium", or "high"
string
Preset that controls the overall limit for context chunks in Enhanced Actions (RAG)Values:
  • "local" - 10,000 tokens
  • "cloud" - 32,000 tokens
  • "advanced" - 100,000 tokens
  • "max" - 3,000,000 tokens
LocalGPTAction[]
required
Array of custom actions available in the plugin. See Actions for details.
number
required
Settings schema version number for migration purposes

Default Settings

The plugin ships with these default settings:
src/defaultSettings.ts

Creativity Levels

Creativity levels map to temperature values:
src/defaultSettings.ts

Template Keywords

Special keywords used in prompts:
src/defaultSettings.ts
These keywords are automatically replaced during action execution with actual content from the editor selection and linked files.