pipeworks_mud_mapper.callbacks.ollama_validation_callbacks ========================================================== .. py:module:: pipeworks_mud_mapper.callbacks.ollama_validation_callbacks .. autoapi-nested-parse:: Callbacks for validating Ollama responses. This module provides the validation panel logic that checks generated text against hard/soft rules and maintains a small history buffer. Functions --------- .. autoapisummary:: pipeworks_mud_mapper.callbacks.ollama_validation_callbacks.validate_ollama_response Module Contents --------------- .. py:function:: validate_ollama_response(response_text, target_words, history) Validate the latest LLM response and update the staging panel. This callback is advisory. It never blocks authors from applying a description. Instead, it surfaces hard-rule hits and aggregates a small in-memory history to make drift visible during iteration.