agents.reasoning_and_critique.self_discover.v2.models

Structured output models for Self-Discovery reasoning system.

Classes

AdaptedModules

Adapted reasoning modules tailored to the specific task.

Config

Configuration model for Self-Discovery reasoning system.

FinalAnswer

Final answer with reasoning.

ReasoningStructure

Step-by-step reasoning structure for solving the task.

SelectedModules

Selected reasoning modules for the task.

Module Contents

class agents.reasoning_and_critique.self_discover.v2.models.AdaptedModules(/, **data)

Bases: pydantic.BaseModel

Adapted reasoning modules tailored to the specific task.

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.

Parameters:

data (Any)

class agents.reasoning_and_critique.self_discover.v2.models.Config(/, **data)

Bases: pydantic.BaseModel

Configuration model for Self-Discovery reasoning system.

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.

Parameters:

data (Any)

class agents.reasoning_and_critique.self_discover.v2.models.FinalAnswer(/, **data)

Bases: pydantic.BaseModel

Final answer with reasoning.

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.

Parameters:

data (Any)

class agents.reasoning_and_critique.self_discover.v2.models.ReasoningStructure(/, **data)

Bases: pydantic.BaseModel

Step-by-step reasoning structure for solving the task.

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.

Parameters:

data (Any)

class agents.reasoning_and_critique.self_discover.v2.models.SelectedModules(/, **data)

Bases: pydantic.BaseModel

Selected reasoning modules for the task.

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.

Parameters:

data (Any)