Skip to content
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

Merged
merged 11 commits into from
Dec 12, 2024
Merged

itinerary planner #1514

merged 11 commits into from
Dec 12, 2024

Conversation

unnati914
Copy link
Contributor

Itenary Planner Example

@manthanguptaa manthanguptaa changed the title itenary planner itinerary planner Dec 6, 2024
itenary_agent = Agent(
name="GlobeHopper",
model=OpenAIChat(id="gpt-4o"),
tools=[ExaTools(), ApifyTools()],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need both the tools?

Comment on lines 10 to 12
show_tool_calls=True,
markdown=True,
debug_mode=True,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove show_tool_calls and debug_mode

Copy link
Contributor

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

Comment on lines 14 to 19
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"
],
Copy link
Contributor

Choose a reason for hiding this comment

The 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)
Copy link
Contributor

Choose a reason for hiding this comment

The 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

@manthanguptaa manthanguptaa merged commit 0cc85f2 into main Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants