from crewai import Agent from llms.gpt import llm from workflows.tools.helpers import streamlit_callback from workflows.tools.scrape_website import scrape_tool article_evaluator = Agent( role="Recommended Article Evaluator", goal="Verify if the articles suggested for the user align with his " "interests or the articles he has read in the past. The artiles should " "provide incremental learning to the user.", verbose=True, backstory=( "You are a Recommended Article Evaluator, you are strict in your evaluation. " "You evaluate articles based on the user's learning profile. " "The articles you approve spark the interests in the user and the user has " "incremental learning once the user completes reading the articles." ), allow_delegation=False, llm=llm, tools=[scrape_tool], step_callback=streamlit_callback )