Skip to main content
Manage OpenGround configuration settings. All configuration is stored in ~/.openground/config.json.

Commands

show

Display current configuration.

Options

boolean
default:"false"
Show only hardcoded defaults (ignore user config)

Example

Output:

get

Get a specific configuration value.

Arguments

string
required
Config key (use dot notation like embeddings.chunk_size)

Example

Output:

set

Set a configuration value.

Arguments

string
required
Config key (use dot notation like embeddings.chunk_size)
string
required
Value to set. Supports:
  • Plain strings: openground config set db_path /custom/path
  • Numbers: openground config set query.top_k 10
  • Booleans: openground config set sources.auto_add_local false
  • JSON literals: openground config set embeddings '{"chunk_size": 1024}'

Validation

  • embeddings.embedding_backend must be either sentence-transformers or fastembed

Examples

path

Print the path to the configuration file.
Output:

reset

Reset configuration to defaults (deletes the config file).

Options

boolean
default:"false"
Skip confirmation prompt.Aliases: -y
This deletes your configuration file. Custom settings will be lost.

Example

Output:

Configuration Keys

See the Configuration Reference for a complete list of configuration options.

Common Use Cases

Increase Query Results

Use Larger Chunks

Change Embedding Backend

Disable Auto-Save to sources.json

Use Custom Database Location

Increase Extraction Concurrency