Created
April 8, 2024 22:37
-
-
Save fsndzomga/b0ab51bfa66ec74f1a48232f7a0f91a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class check_logic(dspy.Signature): | |
"""Given the premises and the conclusions of an argument, check if the conclusions are logical.""" | |
premises = dspy.InputField(desc="Premises of the argument") | |
conclusions = dspy.InputField(desc="Conclusion of the argument") | |
logical = dspy.OutputField(desc="Given the premises, the conclusion is logical or not") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment