Answer a pending question
answer_questionApply an answer to a question returned by get_next_question.
Answers change the world model: resolving a contradiction may close a
relation, accepting or rejecting a learned type updates the ontology,
and "fusionar" merges two entities (reversible).
Args:
tipo: The question's ``tipo``: "contradiccion", "ontologia" or
"fusion".
question_id: The question's ``id``.
respuesta: One of the question's ``respuestas``, or "posponer" to
hide it for 3 days.
contradiccion: "vigente" (pass relation_id of the one still
true; the other is closed), "coexisten", "descartar",
"investigar" (hidden 7 days).
ontologia: "aceptar" (optionally with parent), "rechazar".
fusion: "fusionar" (optionally with conservar), "distintas".
relation_id: For contradiccion + "vigente": the relation that remains
true.
parent: For ontologia + "aceptar": corrected parent type.
conservar: For fusion + "fusionar": which entity survives, "a" or
"b". Default: the one with more relations.
por_usuario: True (default) if this relays the user's answer; False
if the agent decided on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | Yes | ||
| parent | No | ||
| conservar | No | ||
| respuesta | Yes | ||
| por_usuario | No | ||
| question_id | Yes | ||
| relation_id | No |