Settings — TrueRef

Settings

Configure TrueRef embedding and indexing options

Current Active Profile

This is the profile used for semantic indexing and retrieval right now.

{#if activeProfile}

{activeProfile.title}

Profile ID: {activeProfile.id}

Provider
{activeProfile.providerKind}
Model
{activeProfile.model}
Dimensions
{activeProfile.dimensions}
Enabled
{activeProfile.enabled ? 'Yes' : 'No'}
Default
{activeProfile.isDefault ? 'Yes' : 'No'}
Updated
{formatTimestamp(activeProfile.updatedAt)}

Provider configuration

These are the provider-specific settings currently saved for the active profile.

{#if activeConfigEntries.length > 0}
    {#each activeConfigEntries as entry (entry.key)}
  • {entry.key} {entry.value}
  • {/each}
{:else}

No provider-specific configuration is stored for this profile.

For OpenAI-compatible profiles, edit the settings in the Embedding Provider form below. The built-in Local Model profile does not currently expose extra configurable fields.

{/if}
{:else}
Embeddings are currently disabled. Keyword search remains available, but no embedding profile is active.
{/if}

Profile Inventory

Profiles stored in the database and available for activation.

{#each currentSettings.profiles as profile (profile.id)}

{profile.title}

{profile.id}

{#if profile.id === currentSettings.activeProfileId} Active {/if}
{/each}

Embedding Provider

Embeddings enable semantic search. Without them, only keyword search (FTS5) is used.

{#each ['none', 'openai', 'local'] as p (p)} {/each}
{#if provider === 'none'}
Search will use keyword matching only. Results may be less relevant for complex questions.
{/if} {#if provider === 'openai'}
{#each PROVIDER_PRESETS as preset (preset.name)} {/each}
{#if testStatus === 'ok'} Connection successful {#if testDimensions}— {testDimensions} dimensions{/if} {:else if testStatus === 'error'} {testError} {/if}
{/if} {#if provider === 'local'}

Local ONNX model via @xenova/transformers

Model: Xenova/all-MiniLM-L6-v2 · 384 dimensions

{#if getInitialLocalProviderAvailability()}

@xenova/transformers is installed and ready.

{:else}

@xenova/transformers is not installed. Run npm install @xenova/transformers to enable local embeddings.

{/if}
{/if}

Number of parallel indexing workers. Range: 1 to 8.

{#if concurrencySaveStatus === 'ok'} ✓ Saved {:else if concurrencySaveStatus === 'error'} {concurrencySaveError} {/if}
{#if saveStatus === 'ok'}
Settings saved successfully.
{:else if saveStatus === 'error'}
{saveError}
{/if}

About TrueRef

Self-hosted documentation intelligence platform — a full-stack clone of context7.