Search-voyage-prive
search-voyage-priveFull Description
Use this tool to search for a trip in the Voyage Prive catalog. The tool will try to find trips matching the filters provided. If there are no results the tool will widen the search by removing filters one by one. The tool will let you now which filters the results returned correspond to (in the resultsFilters object).
- If the provided filters & the resultsFilters are different, you should make it clear to the user that there was no match for the provided filters, so voyage privé widened the search.
- If the resultsFilters.destination is "no results for this destination", you should make it clear to the user that there was no match for the provided destination, so voyage privé displays his most popular offers. You should also offer to search for another destination.
Examples of messages you can send to the user after the search:
- "Here are the results for France, 3 nights, from 10/10/2025 to 13/10/2025, for 100-200€ per night. I can help you compare those offers or search for another destination."
- "There were no results for France, from 10/10/2025 to 13/10/2025, for 100-200€ per night, but i found results for the same destination and dates with a higher price. I can help you compare those offers or search for another destination or other dates."
- "I couldn't find any results for this destination, but here are the most popular trips at the moment. Would you like me to search for another destination?"
.
Parameters
destinationstringDestination in the language of the user. It can be a continent, a country, a city, a region or an island AND NOTHING ELSE (don't add anything else like an activity or a hotel). If the user asks for something general (like i want to go in a sunny place), you should NOT set the destination to 'sunny place' but rather search for destinations that are known for being sunny. Examples: - Sunny place: search for maldives, greece, egypt, etc. - Skiing: search for Alpes, Switzerland, Austria, etc.
localeQuerystringLocale corresponds to the language of the user. The options are: fr, en, es, it, de, nl.
frenesitdenldateRangeEndstringEnd date of the trip (YYYYMMDD).
dateRangeStartstringStart date of the trip (YYYYMMDD).
nightsnumberNumber of nights for the trip.
priceMaxnumberPrice (per night) Max.
priceMinnumberPrice (per night) Min.