feat: enhance contact enrichment and discovery logic

Merged Phạm Thúc Trường Sơn requested to merge refactor/find-contact into main
  • Introduced new functions for building contact queries and prompts, including support for roles in LinkedIn queries.
  • Improved contact validation by adding checks for meaningful contacts and refining the criteria for what constitutes a valid contact.
  • Updated enrichment quality checks to ensure meaningful contacts are considered in scoring.
  • Added logging for contact stages and discovery evidence to improve traceability and debugging.
  • Slight improvements to OpenAI response extraction

Merge request reports