-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
I want to be able to give my structure an Evalutation Task to make sure my output is correct.
Like this:
from griptape.structures import Pipeline
from griptape.tasks import EvalTask, PromptTask
pipeline = Pipeline(
tasks=[PromptTask("Write me a haiku, with lines from the matrix")])
pipeline.add_task(
EvalTask(
criteria="Evaluate the parent output {{parent_output}} against the rules provided.",
),
rules=[Rule("Make sure that the output includes lines from the matrix")]
)
pipeline.run()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels