haive.agents.reasoning_and_critique.reflection.models ===================================================== .. py:module:: haive.agents.reasoning_and_critique.reflection.models .. autoapi-nested-parse:: Models for the Reflection Agent. Classes ------- .. autoapisummary:: haive.agents.reasoning_and_critique.reflection.models.ReflectionOutput haive.agents.reasoning_and_critique.reflection.models.ReflectionResult haive.agents.reasoning_and_critique.reflection.models.SearchQuery Module Contents --------------- .. py:class:: ReflectionOutput(/, **data) Bases: :py:obj:`pydantic.BaseModel` Model for the output of the reflection step. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:class:: ReflectionResult(/, **data) Bases: :py:obj:`pydantic.BaseModel` Model for structured reflection output. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:method:: as_message() Convert to a message format. .. py:property:: normalized_score :type: float Return the score normalized to 0-1. .. py:class:: SearchQuery(/, **data) Bases: :py:obj:`pydantic.BaseModel` Model for a search query. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name.