-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
itinerary planner #1514
itinerary planner #1514
Changes from 5 commits
8b386ba
83ac18a
64738de
965d049
782203e
a3fc20e
4496611
fe17df8
687c597
750a5cf
041a6e0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from phi.model.openai import OpenAIChat | ||
from phi.agent import Agent | ||
from phi.tools.exa import ExaTools | ||
from phi.tools.apify import ApifyTools | ||
|
||
itenary_agent = Agent( | ||
name="GlobeHopper", | ||
model=OpenAIChat(id="gpt-4o"), | ||
tools=[ExaTools(), ApifyTools()], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need both the tools? |
||
show_tool_calls=True, | ||
markdown=True, | ||
debug_mode=True, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can remove |
||
description="You are an itinerary planner agent. Your role is to assist users in creating detailed and personalized travel plans.", | ||
instructions=[ | ||
"Crawl the website for itenary planning https://www.tripadvisor.in/Trips or https://www.makemytrip.com/", | ||
"Make a concise itenary with flight options, residence options, tourist places, and the estimated budget", | ||
"Look for user inputs and priortise it if they have specific demands", | ||
"Do not give any numbers for reservations" | ||
], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better instruction needed |
||
) | ||
|
||
itenary_agent.print_response("I want to go to Bombay,with four members please make an itenary", stream=True) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prompt needs to be improved. It needs to be a little more descriptive |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the spelling of
itinerary
throughout the file