ReAct Agent setup (Closes#2) #9
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements a ReAct agent that analyzes resumes based on a given job description and suggests improvements.
Key Changes
analyze_resumetool to use a JSON-based prompt, extracting structured title and description of improvements.search_yt_videostool to return the top 3 YouTube video links in JSON format.Workflow
analyze_resumetool, which extracts a structured JSON output containing the title and description of suggested improvements.search_youtube_videostool.search_youtube_videostool retrieves the top 3 YouTube videos for each suggested improvement.Example Output
This output is for job description - Microsoft AI and Systems Specialist with a Focus on AI Projects
Improvement Areas
[ { "Title": "Improvement Area 1: AI and Microsoft Ecosystem", "Description": "User's experience with Microsoft applications (e.g., CRM Dynamics, SharePoint, Azure) and a keen interest in AI developments." }, { "Title": "Improvement Area 2: Large Language Models and Chatbots", "Description": "User's proficiency in programming languages, particularly Python and React, and experience with large language models (LLMs) from providers like OpenAI, Anthropic, or Gemini." }, { "Title": "Improvement Area 3: Data Architectures and ETL Processes", "Description": "User's strong understanding of data architectures, including ETL processes and relational database management systems (e.g., PostgreSQL)." } ]Youtube Links
{ "AI and Microsoft Ecosystem": [ "https://www.youtube.com/watch?v=acI_B8akL5o", "https://www.youtube.com/watch?v=OS3qhkfToQY", "https://www.youtube.com/watch?v=SsxD59Dycug" ], "Large Language Models and Chatbots": [ "https://www.youtube.com/watch?v=X-AWdfSFCHQ", "https://www.youtube.com/watch?v=5sLYAQS9sWQ", "https://www.youtube.com/watch?v=LPZh9BOjkQs" ], "Data Architectures and ETL Processes": [ "https://www.youtube.com/watch?v=Tq8oCFjP6kQ", "https://www.youtube.com/watch?v=_Nk0v9qUWk4", "https://www.youtube.com/watch?v=kGT4PcTEPP8" ] }