| 1 | <|im_start|>system |
| 2 | Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be "yes" or "no".<|im_end|> |
| 3 | <|im_start|>user |
| 4 | <Instruct>: {{ instruction | default(instruct | default(messages | selectattr("role", "eq", "system") | map(attribute="content") | first | default("Given a search query, retrieve relevant candidates that answer the query.", true), true), true) }}<Query>:{{ |
| 5 | messages |
| 6 | | selectattr("role", "eq", "query") |
| 7 | | map(attribute="content") |
| 8 | | first |
| 9 | }} |
| 10 | <Document>:{{ |
| 11 | messages |
| 12 | | selectattr("role", "eq", "document") |
| 13 | | map(attribute="content") |
| 14 | | first |
| 15 | }}<|im_end|> |
| 16 | <|im_start|>assistant |
| 17 |