aguilaaa81 downloadsFinds notes whose claims conflict with each other using embeddings plus an LLM verifier.
Finds pairs of notes in your vault whose claims contradict each other, using embeddings to find related notes and an LLM to verify genuine conflicts. Knowledge bases drift: two notes written months apart can end up asserting opposite things ("we deploy on Fridays" vs. "we never deploy on Fridays"). This plugin surfaces those conflicts so you can reconcile them.
{ contradiction, confidence, statementA, statementB, explanation }. Only confirmed contradictions are kept.| Setting | Default | Purpose |
|---|---|---|
| API base URL | https://api.openai.com/v1 |
OpenAI-compatible endpoint (OpenAI, Ollama, LM Studio). |
| API key | (empty) | Bearer token; leave empty for local servers. |
| Chat model | gpt-4o-mini |
Verifies whether a pair truly contradicts. |
| Embedding model | text-embedding-3-small |
Finds related notes. |
| Similarity threshold | 0.80 |
Minimum cosine similarity for a pair to be verified. |
| Max pairs to verify | 40 |
Upper bound on LLM verification calls per scan. |
| Characters per note | 1500 |
How much of each note is embedded and shown to the model. |
maxPairs, but embedding cost scales with the number of notes.This plugin only makes network requests to the LLM endpoint you configure in its settings (OpenAI-compatible; a local Ollama or LM Studio works fully offline). Note titles and the first part of each note body are sent to that endpoint for embedding, and candidate note pairs are sent to the chat model for verification. Nothing is sent anywhere else, no telemetry is collected, and no requests are made until you run a scan with a configured endpoint. Using a hosted provider may require a paid account with that provider.
This plugin is not yet in the community store. To install it manually:
main.js is produced from src/main.ts.manifest.json, main.js, and styles.css into
<your-vault>/.obsidian/plugins/contradiction-finder/.If this plugin is useful to you, you can support its development at Buy Me a Coffee.