Skip to content

Add docstrings to dspy/predict/refine.py and dspy/predict/best_of_n.py #9462

Description

@aviraldua93

Claiming dspy/predict/refine.py and dspy/predict/best_of_n.py for docstring additions, as described in #8926.

Files:

  • dspy/predict/refine.py — Adding docstrings to Refine.forward(), inspect_modules(), and recursive_mask()
  • dspy/predict/best_of_n.py — Adding docstring to BestOfN.forward()

All docstrings follow the Google Python Style Guide with Args, Returns, and Raises sections.

PR incoming shortly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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