Skip to content

Conversation

@grexrr
Copy link

@grexrr grexrr commented Nov 16, 2025

This PR adds a tutorial notebook demonstrating how to use the OSMFetcher from osm-integration-haystack with Haystack's Agent framework.

The notebook includes:

  • A pipeline that fetches nearby POIs from OpenStreetMap and summarizes them
  • A PipelineTool wrapping OSMFetcher + ChatPromptBuilder to reduce token usage
  • An Agent that uses this tool to plan walking itineraries based on user prompts
  • Example use case: visiting a church → studying in a cafe → ending at a pub

The agent is guided via a system prompt and handles tool invocation autonomously.

This notebook was added following reviewer feedback on my OpenStreetMap integration PR, to illustrate how the component can be used in an Agent-based application.

@grexrr grexrr requested a review from a team as a code owner November 16, 2025 01:15
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

1 participant