fix: guard against empty inputs
This commit is contained in:
parent
e663fbd730
commit
a45bd98c8f
|
|
@ -177,9 +177,14 @@ Each deduction must be self-contained and include sufficient context:
|
|||
- Disambiguating details that make the conclusion independently meaningful
|
||||
- All necessary qualifiers to ensure accuracy
|
||||
|
||||
{% if peer_card %}
|
||||
{{ peer_card|join('\n') }}
|
||||
{% endif %}
|
||||
|
||||
{% if existing_deductions_section %}
|
||||
Existing deductions ....
|
||||
{{ existing_deductions_section }}
|
||||
{% endif %}
|
||||
|
||||
Atomic propositions to use as premises:
|
||||
<atomic_propositions>
|
||||
|
|
|
|||
|
|
@ -94,15 +94,19 @@ Example 4 - Implicit Extraction:
|
|||
- [ ] Absolute dates/times when temporal info present
|
||||
- [ ] Both explicit and obvious implicit facts extracted
|
||||
|
||||
{% if peer_card %}
|
||||
{{ peer_id }}'s known biographical information:
|
||||
<peer_card>
|
||||
{{ peer_card|join('\n') }}
|
||||
</peer_card>
|
||||
{% endif %}
|
||||
|
||||
{% if has_working_representation %}
|
||||
Current understanding of {{ peer_id }}:
|
||||
<current_context>
|
||||
{{ working_representation }}
|
||||
</current_context>
|
||||
{% endif %}
|
||||
|
||||
Recent conversation history for context:
|
||||
<history>
|
||||
|
|
|
|||
Loading…
Reference in New Issue