Enhance validation process in import_llm_questions to handle additionalProperties errors and clean payloads for improved data integrity
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if item.dropped_fields %}
|
||||
<div class="alert alert-info" role="alert">
|
||||
<strong>Note:</strong> The following unsupported fields were dropped: <em>{{ item.dropped_fields|join:", " }}</em>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if item.payload %}
|
||||
<p><strong>Title:</strong> {{ item.payload.title|default:'(No title)'|safe }}</p>
|
||||
<p><strong>Stem:</strong> {{ item.payload.stem|default:''|safe }}</p>
|
||||
|
||||
Reference in New Issue
Block a user