Citation Highlighting

Problem overview from a real HarveyAI interview:

You are given a document produced by an LLM and a list of source phrases. Your task is to find exact phrase matches in the document and wrap the matched regions in <yellow> and </yellow> tags.

Check more interview questions and experiences about HarveyAI

Please log in to view interview details