 | To learn from user decisions, we can implement an agent that observes their patterns. This agent tracks any progressions or rejections of candidates, allowing us to identify trends and refine the ideal candidate profile. The ideal candidate profile, or ICP, is our self-improving prompt. To understand how this works, let's delve into the ICP agent, which consists of three main components. First, we have user messages, which encompass all user decisions. This includes every time a user progresses or rejects a candidate, any feedback they provide, and any manual edits made to the ideal candidate profile. Initially, we built this system, and while it produced a decent proposed ideal candidate profile, we quickly learned that user feedback is always relative to what they have just seen. Agents require the right context, and here, that context includes the candidates’ redacted profiles. To address this, we developed a specialized tool called query files. Although we initially tried using Bash and standard grep, unstructured data can be challenging to search effectively in a file system. Our tool can analyze candidate profiles and interpret relative feedback. For example, if a recruiter states that a candidate lacks sufficient Python experience, we can reference the past redacted resume to clarify what “too little Python” actually means. |