OPENAI_API_KEY and HERE_API_KEY need to be set in environment variables.
For a user question like
"In which districts in Berlin are streets named Kastanienallee?"
the script uses GPT to create an API call like
https://discover.search.hereapi.com/v1/discover?at=52.5200,13.4050&q=Kastanienallee%20Berlin
Based on the API response, GPT is then used to create a response like the following:
"Streets named Kastanienallee can be found in the following districts in Berlin: Prenzlauer Berg, Rosenthal, Hellersdorf, Westend, and Blankenburg."