Files
research-relevance-judge/config.json
2026-04-16 15:31:25 -07:00

70 lines
2.4 KiB
JSON

{
"model": null,
"signature": {
"$defs": {
"Reasoning": {
"type": "dspy.Reasoning"
}
},
"description": "You are evaluating search results for a technical investment diligence report.\nGiven a research topic and a search result, judge how relevant it is.\n\nScoring:\n1 = Not relevant. Completely different domain, product, or problem.\n2 = Marginally relevant. Loosely related but addresses a different specific problem.\n3 = Relevant. Same technical problem or domain \u2014 worth including in a research dump.\n4 = Highly relevant. Directly discusses the core problem with practitioner experience,\n benchmarks, or specific tool comparisons. High signal for diligence.\n\nFocus on technical specificity. Generic advice scores lower than specific\npractitioner experience with real numbers or tool names.",
"properties": {
"topic": {
"__dspy_field_type": "input",
"desc": "The research topic being investigated",
"prefix": "Topic:",
"title": "Topic",
"type": "string"
},
"title": {
"__dspy_field_type": "input",
"desc": "Title of the search result",
"prefix": "Title:",
"title": "Title",
"type": "string"
},
"snippet": {
"__dspy_field_type": "input",
"desc": "Short excerpt or snippet from the result",
"prefix": "Snippet:",
"title": "Snippet",
"type": "string"
},
"source": {
"__dspy_field_type": "input",
"desc": "Source platform (Reddit, HN, Stack Overflow, etc.)",
"prefix": "Source:",
"title": "Source",
"type": "string"
},
"reasoning": {
"$ref": "#/$defs/Reasoning",
"__dspy_field_type": "output",
"desc": "Your reasoning for your answer. Inlude any uncertainties about your answer or ambiguity in the task.",
"prefix": "Reasoning:"
},
"relevance": {
"__dspy_field_type": "output",
"desc": "Relevance score: 1=not relevant, 2=marginal, 3=relevant, 4=highly relevant",
"enum": [
"1",
"2",
"3",
"4"
],
"prefix": "Relevance:",
"title": "Relevance",
"type": "string"
}
},
"required": [
"topic",
"title",
"snippet",
"source",
"reasoning",
"relevance"
],
"title": "StringSignature",
"type": "object"
}
}