pub async fn resolve_entity(
gm: &GraphMemory,
llm: &dyn LlmProvider,
candidate: &ExtractedEntity,
session_id: &str,
) -> Result<ResolvedEntity, GraphError>Expand description
Run the full dedup pipeline for one extracted entity.
- Vector search for similar entities
- If none similar: CREATE directly
- If similar found: ask LLM for skip/create/merge decision
- For merge on immutable types: fall back to CREATE