You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wiki content language: entities, concepts, summaries, and page titles now correctly output in the selected wiki language when it differs from the UI language. Root cause: Chinese instruction text in user prompts was overriding the system-level language directive because LLMs prioritize user-prompt language signals over system-prompt instructions. All LLM-facing prompts are now in English, following the standard training pattern where English meta-instructions correctly govern target-language output.
"after JSON at position N" parse failures: normalizer extracts valid JSON prefix when trailing content exists.
source_title missing validation: prompt now explicitly requires source_title; code falls back to file basename if still omitted.
Prefill safety: both AnthropicClient and AnthropicCompatibleClient now detect and recover from prefill { being stripped by the provider.
Added
Iterative batch extraction: analyzeSource extracts entities/concepts in batches of 20, preventing the max_tokens bottleneck that limited extraction from long sources.
Extraction granularity setting: Fine / Standard / Coarse dropdown with cost labeling.
Adaptive batch_size: when a batch response exceeds 70% of max_tokens, the next batch automatically shrinks by 25% (floor: 5 items) to prevent output truncation.
Anthropic prompt caching: static prompt prefix cached via cache_control ephemeral, reducing redundant token processing across batches.
Entity type expansion: added product, event entity types.
Ingestion report enhancements: elapsed time display, failed-item guidance text.
API Key password masking: settings input uses password field type.
Wiki Output Language setting: 8-language dropdown (English, 中文, 日本語, 한국어, Deutsch, Français, Español, Português) with custom language input for unsupported languages. Wiki content language is now independent of the UI language setting.
System prompt language directive architecture: buildWikiLanguageDirective() injects a per-task language instruction at the beginning of every LLM system prompt.
Belt-and-suspenders language reinforcement: finalPrompt appends a CRITICAL LANGUAGE REQUIREMENT hint at the end of the analyzeSource user prompt.
Summary quality: entity/concept summaries upgraded from 1 sentence to 2-4 sentences.
analyzeSource max_tokens: 4000 → 16000.
Entity extraction balance: prompt now emphasizes extracting important entities even with low mention frequency.
All LLM-facing prompts converted from bilingual to English-only: granularity instructions, batch context, merge strategies, page templates, index labels, contradiction notes, and conversation summary sections.
Query engine language alignment: buildWikiContext() now emits the language directive in the system prompt.
Entity types reduced from 8 to 6: removed "artifact" type (too vague, produced generic low-value pages).
Backward-compatible migration: existing installations without wikiLanguage automatically inherit from the language setting.
Manual Installation
Download main.js, manifest.json, and styles.css from the assets below
Create a folder llm-wiki inside your vault's .obsidian/plugins/ directory
Copy the three files into that folder
Enable the plugin in Settings → Community plugins
Configure your LLM provider and API key in the plugin settings panel
Select the desired wiki output language in the plugin settings