Find a Local Map
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a description of one of the six use cases for the bagoodex/bagoodex-search-v1
model—retrieving a Google Maps link, a small picture of the map and coordinates of the requested place based on information from the internet.
An output example:
The output will be the requested information retrieved from the internet—or empty brackets {}
if nothing was found or if the entered query does not match the selected search type (for example, entering something like "wofujwofifwuowijufi").
First, you must first call the standard chat completion endpoint with your query. (Check how this call is made in the example below.)
Note that queries can include advanced search syntax:
Search for an exact match: Enter a word or phrase using \"
before and after it.
For example, \"tallest building\"
.
Search for a specific site: Enter site:
in front of a site or domain. For example, site:youtube.com cat videos
.
Exclude words from your search: Enter -
in front of a word that you want to leave out. For example, jaguar speed -car
.
The chat completion endpoint returns an ID, which must then be passed as the sole input parameter followup_id
to the bagoodex/local-map
endpoint below:
Model Response:
/v1/bagoodex/local-map