Skip to content

Documentation issue #841

@habanoz

Description

@habanoz

In ChainOfThought page:

The following section is no longer reflects the actual code.

DEFAULT_RATIONALE_TYPE = dsp.Type(prefix="Reasoning: Let's think step by step in order to",
                                          desc="${produce the " + last_key + "}. We ...")

The actual code uses following instead:

rationale_type = rationale_type or dspy.OutputField(
            prefix="Reasoning: Let's think step by step in order to",
            desc="${produce the " + last_key + "}. We ...",
        )

As a result :
rationale_type (dsp.Type, optional): Rationale type for reasoning steps. Defaults to None. in the page should be changed to refer to dspy.OutputField.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions