.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user