
Answer-first summary for fast verification
Answer: Create a tool for finding available team members given project dates. Embed team profiles into a vector store and use the project scope and filtering to perform retrieval to find the available best matched team members.
Option D is optimal because it efficiently handles the 'very large team' constraint by embedding team profiles into a vector store, enabling scalable similarity search between project scope and profiles. It also incorporates filtering for date availability, addressing both match criteria. Option C, while considering both factors, is less scalable due to iterative scoring over a large dataset. Option A embeds project scopes instead of team profiles, which is inefficient for repeated queries against a fixed team. Option B relies on keyword matching, which is less effective than semantic similarity for unstructured text. The community discussion strongly supports D, citing scalability and embedding best practices, with the highest upvoted comments favoring D over C.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A Generative AI Engineer is developing a system to recommend the most suitable employee from a very large team for new projects. The recommendation must be based on the employee's date availability and the similarity between their unstructured text profile and the unstructured text project scope. How should the engineer design the system architecture?
A
Create a tool for finding available team members given project dates. Embed all project scopes into a vector store, perform a retrieval using team member profiles to find the best team member.
B
Create a tool for finding team member availability given project dates, and another tool that uses an LLM to extract keywords from project scopes. Iterate through available team members’ profiles and perform keyword matching to find the best available team member.
C
Create a tool to find available team members given project dates. Create a second tool that can calculate a similarity score for a combination of team member profile and the project scope. Iterate through the team members and rank by best score to select a team member.
D
Create a tool for finding available team members given project dates. Embed team profiles into a vector store and use the project scope and filtering to perform retrieval to find the available best matched team members.