Skip to content

RDBDM-395 - Add the gated consensus guide (Handling Model Uncertainty with RavenDB AI Capabilities) - #2759

Open
redknightlois wants to merge 1 commit into
ravendb:mainfrom
redknightlois:RDBDM-395-gated-consensus-guide
Open

redknightlois wants to merge 1 commit into
ravendb:mainfrom
redknightlois:RDBDM-395-gated-consensus-guide

Conversation

@redknightlois

@redknightlois redknightlois commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Issue link

RDBDM-395

Additional description

Adds the guide "Gated Consensus: Handling Model Uncertainty with RavenDB AI Capabilities" at /guides/handling-model-uncertainty-with-gated-consensus. It explains the gated consensus pattern for model answers that carry no sign of whether to trust them, using the Claims Desk sample (ravendb/samples-auto-tagger) as the worked case: three assessor GenAI tasks, a judge whose update script counts their votes, a static index that routes each claim on that agreement, adjuster rulings carried forward through vector search, task ordering without an orchestrator, and a review guarded by optimistic concurrency.

  • guides/handling-model-uncertainty-with-gated-consensus.mdx: the guide. Code that differs per backend comes in C#, Python and Node.js tabs that share one groupId, so one choice switches every snippet on the page; the GenAI scripts and RQL, identical in all three backends, appear once.
  • guides/assets/gated-consensus-1.webp: a diagram of the pipeline, showing which step writes which field of the claim document and what the index reads.
  • guides/assets/gated-consensus-2.webp and gated-consensus-3.webp: screenshots of the Claims Desk app, the desk and a claim page where an adjuster ruling outranks the assessors.
  • docs/authors.json: adds Federico Lois as an author.

Type of change

  • Content - docs
  • Content - cloud
  • Content - Quill
  • Content - guides
  • Content - start pages/other
  • New docs feature (consider updating /templates or readme)
  • Bug fix
  • Optimization
  • Other

Changes in docs URLs

  • No changes in docs URLs
  • Articles are restructured, URLs will change, mapping is required (update /scripts/redirects.json file, set Documents Moved PR label)

Changes in UX/UI

  • No changes in UX/UI
  • Changes in UX/UI (include screenshots and description)

@redknightlois
redknightlois force-pushed the RDBDM-395-gated-consensus-guide branch 2 times, most recently from 366e535 to b256bfd Compare December 5, 2026 02:49
@redknightlois redknightlois changed the title RDBDM-395 - Add the gated consensus guide (Handling AI Uncertainty with RavenDB GenAI Tasks) RDBDM-395 - Add the gated consensus guide (Handling AI Uncertainty with RavenDB AI Capabilities) Dec 5, 2026
@redknightlois
redknightlois force-pushed the RDBDM-395-gated-consensus-guide branch from b256bfd to c8ab137 Compare December 5, 2026 02:50
@redknightlois redknightlois changed the title RDBDM-395 - Add the gated consensus guide (Handling AI Uncertainty with RavenDB AI Capabilities) RDBDM-395 - Add the gated consensus guide (Handling Model Uncertainty with RavenDB AI Capabilities) Dec 5, 2026
@redknightlois
redknightlois force-pushed the RDBDM-395-gated-consensus-guide branch 2 times, most recently from b2d7433 to 891b0c0 Compare December 5, 2026 03:13
@redknightlois
redknightlois force-pushed the RDBDM-395-gated-consensus-guide branch from 891b0c0 to c8cff1a Compare December 5, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant