Skip to content

Person Disambiguation Tools

Ambiguous person reference resolution tools.

Configuration

  • File: src/chatbot/agentic/tools/person_disambiguation_tools.py

Available Tools

person_disambiguation_tool

Resolves ambiguous person references when multiple matches are found.

Use Cases

  • Multiple users with similar names
  • Common first/last name combinations
  • Context-aware person selection
  • Department-specific disambiguation

Usage Example

from src.chatbot.agentic.tools.person_disambiguation_tools import (
    person_disambiguation_tool,
)

result = await person_disambiguation_tool.ainvoke(
    {"name": "John", "context": "Tax department"}, config=config
)