Evaluate glossary grounding for document search

Aperta
#1,457 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ningsiyuan1024 ci sta già lavorando.

Dal 26/11/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
ai, search

Direzione di ricerca

Start with the document search design in docs/features/knowledge.md and the entity-graph notes in docs/features/entity-graph.md, then look at the reporting fixture from #1185 to see how the hybrid-search comparison is already measured. The experiment needs a reviewed glossary of canonical terms, aliases and scope rules wired into the existing retrieval path, plus four fixture cases (alias absent from source text, ambiguous alias, changed entry, no glossary term). Done means a reported comparison against hybrid search on the same fixture and context budget: share of queries returning every required passage, wrong-source matches and p95 latency, feeding a decision on wider exposure. Roadmap context is in #1232.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted up-for-grabs
Component

Knowledge (documents)

Use case

A team asks for the rule for an active account using an internal abbreviation. The authoritative definition uses the full term, while another team uses the same abbreviation for a different metric. Search should connect the question to the reviewed definition for its scope and cite the passage that supports the answer.

Describe the solution you'd like

Test glossary grounding as a retrieval option for one collection. Start with a reviewed glossary and a small set of canonical terms, aliases and applicability rules. Use exact matches to add retrieval candidates through the existing search path.

  • Resolve terms within the authorized request and audience scope. Carry the glossary revision and supporting document locator. An ambiguous alias should return the applicable alternatives or a request for clarification.
  • Keep the glossary as navigation evidence. Require a current, authorized source passage to support an answer that uses its definition.
  • Check replacement, revoked access and erasure for the term, its derived retrieval hints and returned citations.
  • Compare against existing hybrid document search on the same fixture and context budget. Report the share of queries returning every required passage, wrong-source matches and p95 latency. Include an alias absent from the source text, an ambiguous alias, a changed glossary entry and a query without a glossary term. Use the results to decide whether to expose the option more widely.
Describe alternatives you've considered

Hybrid search and namespace-local entity resolution already supply candidates. The experiment tests the additional value of a reviewed, revision-bound glossary link for document passages.

Where the need comes from

An AI tool suggested this feature

Additional context

Part of the knowledge-factory roadmap in #1232. The reporting fixture in #1185 provides a starting point for the test cases. Loom entity graph · Document search

Lingua principale
Python
Stelle
263
Fork
47
Merge medio
14h 21m
PR unite (30g)
873

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ClickHouse/loom

Tutte le issue di ClickHouse/loom

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.