Create a tool to query OSM data.
This will likely query Overpass, but we can explore other options. It is possible we may want multiple tools to fulfill different types of use-cases.
Can use this ticket to discuss our approach, and then follow the structure that @srmsoumya has created to create a tool in the tools/ folder. As @srmsoumya starts developing best practices to add tests and logging, we can follow those to add those for the OSM tool.
As a first pass, it would be great to have a basic tool that has a function that queries overpass and returns results. See the basic examples for mercantile in the tools, agents and nbs folder to see an example of how to define a tool, then define an agent to use that tool, and then use a jupyter notebook to test asking basic questions and seeing the response.
cc @kamicut @Rub21 @yunica
Create a tool to query OSM data.
This will likely query Overpass, but we can explore other options. It is possible we may want multiple tools to fulfill different types of use-cases.
Can use this ticket to discuss our approach, and then follow the structure that @srmsoumya has created to create a tool in the
tools/folder. As @srmsoumya starts developing best practices to add tests and logging, we can follow those to add those for the OSM tool.As a first pass, it would be great to have a basic tool that has a function that queries overpass and returns results. See the basic examples for
mercantilein thetools,agentsandnbsfolder to see an example of how to define a tool, then define an agent to use that tool, and then use a jupyter notebook to test asking basic questions and seeing the response.cc @kamicut @Rub21 @yunica