Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a TypedPredictorSignature class that builds a signature from Pydantic models - this signature is optimized for use with TypedPredictor and TypedChainOfThought #1655

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 20, 2024

  1. Created a helper class to build a signature from pydantic input and o…

    …utput classes. It takes examples, constraints, defaults and invalid value specifications into account when constructing the signature
    drawal1 committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    26a30e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ac2244 View commit details
    Browse the repository at this point in the history
  3. feat:dspy_functional - properly using json_schema_extra for specifyin…

    …g invalid value. Specifying a default of null for optional age field
    drawal1 committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    0a5c4be View commit details
    Browse the repository at this point in the history
  4. bugfix:(dspy_functional) - Properly detecting optional field and sett…

    …ing field.default in such cases if its not specified
    drawal1 committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    980b544 View commit details
    Browse the repository at this point in the history