We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c322d commit b3a251fCopy full SHA for b3a251f
examples/expectations/email.pdl
@@ -12,11 +12,7 @@ defs:
12
Does the following email end with Kind regards. Answer with a JSON object and a result field with value True or False only.
13
Email: ${ response }
14
parser: json
15
- - if: ${ result.result }
16
- def: eval
17
- then: 0
18
- else: -10
19
- - if: ${ eval < -0.3 }
+ - if: ${ not(result.result) }
20
then:
21
model: ollama_chat/mistral-small:latest
22
def: instruction
0 commit comments