surf-spot-finder / examples /openai_single_agent_user_confirmation.yaml
Nathan Brake
Messaging capabilities come to tools (#37)
6646f61 unverified
raw
history blame
784 Bytes
input:
location: Pontevedra
date: 2025-03-27 12:00
max_driving_hours: 2
input_prompt_template: |
According to the forecast, what will be the best spot to surf around {LOCATION},
in a {MAX_DRIVING_HOURS} hour driving radius, at {DATE}?
Find a few options and then discuss it with David de la Iglesia Castro. You should recommend him some choices,
and then confirm the final selection with him.
agent:
model_id: gpt-4o
api_key_var: OPENAI_API_KEY
agent_type: openai
tools:
- "surf_spot_finder.tools.driving_hours_to_meters"
- "surf_spot_finder.tools.get_area_lat_lon"
- "surf_spot_finder.tools.get_surfing_spots"
- "surf_spot_finder.tools.get_wave_forecast"
- "surf_spot_finder.tools.get_wind_forecast"
- "any_agent.tools.send_slack_message"