Evaluate glossary grounding for document search

Abierto
#1,457 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@ningsiyuan1024 ya está trabajando en esto.

Desde el 26/11/2026.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Área
ai, search

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
263
Forks
47
Merge medio
14 h 21 min
PR fusionados (30 d)
873

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ClickHouse/loom

Todos los issues de ClickHouse/loom

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.