You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to give my structure an Evalutation Task to make sure my output is correct.
Like this:
fromgriptape.structuresimportPipelinefromgriptape.tasksimportEvalTask, PromptTaskpipeline=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()
The text was updated successfully, but these errors were encountered:
I want to be able to give my structure an Evalutation Task to make sure my output is correct.
Like this:
The text was updated successfully, but these errors were encountered: