How to ask an AI agent for the gastronomy dishes and import them
Ask an AI agent for a list of the destination’s dishes and drinks in the panel’s format, and import it into the Gastronomy tab with its photos.
If you use an AI agent (ChatGPT, Antigravity, Claude…) to prepare a trip’s gastronomy, you do not need to copy the dishes one by one: ask it for a list in a set format and import it into the Gastronomy tab.
Import the dishes
- Open the Gastronomy tab.
- Press Import dishes.
- Choose the file (
.json) or paste the text into the box. - Look at the summary: how many dishes there are, in which groups, how many photos will be copied, and the notes.
- If the guide already has dishes, choose whether to replace them. If you leave it unticked, the new ones go at the end of each group.
- Press Add the dishes.
Nothing is saved yet: the dishes are an unsaved change. Check them and press Save. When you save, the panel keeps a version of the guide first, so you can always go back with Versions.
Photos
If a dish carries a photo address (https://…), the panel copies it into the guide when importing, as it does when you paste an address into the photo field: the guide never shows photos from other sites. While they are copied, the button says how far it has got.
If a photo cannot be copied (the address is not an image, the site does not let it be downloaded, it is too large…), the dish is imported anyway without a photo and the dish itself tells you: upload it from there.
Only use photos you have the right to publish. An AI often makes up photo addresses; those from Wikimedia Commons usually work, but check their licence.
How to tell an AI agent to prepare the dishes
Copy this text, change what is in square brackets and paste the answer into Import dishes.
Prepare the gastronomy section of my travel guide to [DESTINATION], in [LANGUAGE].
I want [HOW MANY] typical dishes and drinks worth trying. [WHAT YOU LIKE, CHILDREN, ALLERGIES…]
Answer ONLY with a JSON list, no explanations, with one object per dish and these fields:
- "category": one of these exact values: "starters", "firstCourses", "mainCourses", "desserts", "drinks".
- "name": the dish's name (at most 120 characters).
- "description": what it is and where or when to try it (at most 600 characters).
- "price": the rough price as text, for example "8-12 €" (at most 40 characters). If you do not know it, leave it empty ("").
- "tags": a list of at most 10 short tags, for example ["vegetarian", "spicy"].
- "imageUrl": the https address of a photo of the dish that may be published, for example from Wikimedia Commons. If you have no real one, leave it empty (""). Do not make up addresses.
Do not make up prices or restaurants: if you do not know, leave the field empty.
This is an example of the format:
[
{
"category": "mainCourses",
"name": "Saltimbocca alla romana",
"description": "Veal escalopes with ham and sage. Eaten in the trattorie of Trastevere.",
"price": "14-18 €",
"tags": ["meat", "Roman classic"],
"imageUrl": "https://upload.wikimedia.org/wikipedia/commons/…/Saltimbocca.jpg"
},
{
"category": "desserts",
"name": "Maritozzo",
"description": "A brioche bun filled with whipped cream, for breakfast.",
"price": "",
"tags": ["sweet"],
"imageUrl": ""
}
]
Before saving, check the prices and the descriptions: an AI agent can get things wrong.
Possible errors
- “The JSON is not valid”: the answer is cut short or does not follow the format. A sentence before or after the list, or a code block around it, does no harm. If the list is very long, ask for it in two parts and import them one after the other.
- A dish was left out: it had no name, or its group was none of the five. The summary says which.
- “… was shortened”: a field went over the limit and was cut; check it.
- Too many dishes: a guide has a maximum number of dishes. Tick Replace or import fewer.
- The gastronomy audio guide is not imported: upload it in the same tab.
See also Gastronomy and How to ask an AI agent to generate a day’s content and import it.