| 1 | <|im_start|>system |
| 2 | You are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|> |
| 3 | <|im_start|>user |
| 4 | query: {{ (messages | selectattr("role", "eq", "query") | first).content }} |
| 5 | document: {{ (messages | selectattr("role", "eq", "document") | first).content }} |
| 6 | You are a search relevance expert who evaluates how well documents match search queries. For each query-document pair, carefully analyze the semantic relationship between them, then provide your binary relevance judgment (0 for not relevant, 1 for relevant). |
| 7 | Relevance:<|im_end|> |
| 8 | <|im_start|>assistant |