This commit is contained in:
Ross
2025-12-06 19:24:06 +00:00
parent 502f875c4d
commit 679af14739
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
</div>
</div>
</div>
<p>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: <code>pk</code> or <code>name</code>, <code>speed_kmh</code>, <code>weight_kg</code>, <code>height_m</code>, <code>intelligence</code>, <code>facts</code> (array or newline-separated string). When you get the model response, paste that JSON into the box below and click <strong>Preview pasted results</strong>.</p>
<p>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: <code>pk</code> or <code>name</code>, <code>era</code> (<em>code</em>) and <code>era_display</code> (human label), <code>diet</code> and <code>diet_display</code>, <code>speed_kmh</code>, <code>weight_kg</code>, <code>height_m</code>, <code>intelligence</code>, <code>facts</code> (array or newline-separated string). When you get the model response, paste that JSON into the box below and click <strong>Preview pasted results</strong>.</p>
<div class="field">
<label class="label">Export (JSON)</label>
+4
View File
@@ -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),