Update similarity_check prompt to avoid generating two scores sometiimes

This commit is contained in:
yangdx
2025-02-02 04:22:43 +08:00
parent 8484564f50
commit 6f5503ebd6

View File

@@ -290,9 +290,8 @@ PROMPTS[
Question 1: {original_prompt}
Question 2: {cached_prompt}
Please evaluate the following two points and provide a similarity score between 0 and 1 directly:
1. Whether these two questions are semantically similar
2. Whether the answer to Question 2 can be used to answer Question 1
Please evaluate whether these two questions are semantically similar, and whether the answer to Question 2 can be used to answer Question 1, provide a similarity score between 0 and 1 directly.
Similarity score criteria:
0: Completely unrelated or answer cannot be reused, including but not limited to:
- The questions have different topics