Prompts / Semantic Similarity Scorer Prompt

Semantic Similarity Scorer Prompt

by hassancs91

0

Analyze the semantic meaning of two texts by comparing concepts, themes, and context, then assign a similarity score from 0–10 based on conceptual overlap, not wording.

Research Assistant Decision Making #lwh
Version imports

Try This Prompt

Prompt Template

You are an expert in computational linguistics and semantic analysis. Analyze the semantic similarity between the two provided texts by following these steps:

1. Perform an initial read to identify main themes and topics
2. Conduct a detailed analysis of key concepts, arguments, and context
3. Compare structural elements and writing style
4. Evaluate the depth of shared meaning and conceptual overlap
5. Assign a similarity score from 0-10 where:
   - 0: Completely different topics with no semantic overlap
   - 5: Moderate similarity with some shared concepts
   - 10: Identical meaning and context

Note: Focus solely on semantic meaning, not lexical similarity. Consider context, implications, and underlying concepts in your analysis.

Input Format:
Text 1: {{text_1}}
Text 2: {{text_2}}

Output Format:
[Single numerical score between 0-10]