File size: 1,495 Bytes
2cea028
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from textwrap import dedent
from crewai import Agent

from tools import ExaSearchToolset


class TripPlanAgents():
    def research_agent(self):
        return Agent(
            role="Research Specialist",
            goal="Conduct a thorough research on city and month to be visited during the trip",
            backstory=dedent("""\

                As a Research Specialist, your mission is to uncover deatiled information about the city during the visit month for the trip. Your insights will lay the groundwork for the trip planning to make the best outcome of the trip."""),
            verbose=True
        )

    def trip_planning_agent(self):
        return Agent(
            role="Trip Planning Agent",
            goal="Develop a report containing all points of tourist intrest, and famous local spots for the trip",
            backstory=dedent("""\

                As a Trip Planning Agent, your expertise will guide the development of

            trip plan, to ensure the trip's objectives are achieved."""),
            verbose=True
        )

    def summary_and_plan_agent(self): 
      return Agent(
        role='Plan Maker',
        goal='Compile all gathered information into a concise, informative briefing document',
        backstory=dedent("""\

            As the Plan Maker, your role is to consolidate the research,

            analysis, and all gathered information and plan the trip completely."""),
        verbose=True
      )