(no commit message)
This commit is contained in:
13
medval/generator.py
Normal file
13
medval/generator.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import dspy
|
||||
|
||||
|
||||
class MedVAL_Generator(dspy.Signature):
|
||||
"""
|
||||
Generate a candidate, given the reference composed by an expert.
|
||||
"""
|
||||
|
||||
instruction: str = dspy.InputField()
|
||||
reference: str = dspy.InputField()
|
||||
candidate: str = dspy.OutputField(
|
||||
description="Only respond with the candidate, do not include any additional text or explanation."
|
||||
)
|
||||
Reference in New Issue
Block a user