diff --git a/cards/templates/cards/export_table.html b/cards/templates/cards/export_table.html index 2d0ea27..174866c 100644 --- a/cards/templates/cards/export_table.html +++ b/cards/templates/cards/export_table.html @@ -12,7 +12,7 @@ -

Copy the JSON below and paste it into your web LLM interface. Ask the model to return a JSON array of objects with these fields: pk or name, speed_kmh, weight_kg, height_m, intelligence, facts (array or newline-separated string). When you get the model response, paste that JSON into the box below and click Preview pasted results.

+

Copy the JSON below and paste it into your web LLM interface. Ask the model to return a JSON array of objects with these fields: pk or name, era (code) and era_display (human label), diet and diet_display, speed_kmh, weight_kg, height_m, intelligence, facts (array or newline-separated string). When you get the model response, paste that JSON into the box below and click Preview pasted results.

diff --git a/cards/views.py b/cards/views.py index 8a3e464..47d5591 100644 --- a/cards/views.py +++ b/cards/views.py @@ -360,6 +360,10 @@ def export_table(request): rows.append({ 'pk': d.pk, 'name': d.name, + 'era': d.era, + 'era_display': d.get_era_display(), + 'diet': d.diet, + 'diet_display': d.get_diet_display(), 'speed_kmh': d.speed, 'weight_kg': d.weight, 'height_m': float(d.height),