Deduplication
This commit is contained in:
parent
991c34ce52
commit
8bd22dab1b
5 changed files with 400 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ from repo_registry.core.models import (
|
|||
SearchResult,
|
||||
)
|
||||
from repo_registry.candidate_graph.generator import CandidateGraphGenerator
|
||||
from repo_registry.candidate_graph.normalization import normalize_candidate_drafts
|
||||
from repo_registry.content_indexing.extractor import ContentExtractor
|
||||
from repo_registry.core.logging import log_operation
|
||||
from repo_registry.llm_extraction.extractor import LLMCandidateExtractor
|
||||
|
|
@ -211,6 +212,7 @@ class RegistryService:
|
|||
stored_chunks,
|
||||
)
|
||||
candidate_source = "deterministic"
|
||||
candidates = normalize_candidate_drafts(candidates)
|
||||
self.store.replace_candidate_graph(repository_id, completed_run.id, candidates)
|
||||
if candidate_source == "llm":
|
||||
log_operation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue