Add MODAIC token support and fix init to accept kwargs
This commit is contained in:
36
program.json
Normal file
36
program.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"reranker.predict": {
|
||||
"traces": [],
|
||||
"train": [],
|
||||
"demos": [],
|
||||
"signature": {
|
||||
"instructions": "Assess the relevance of a document to a query.",
|
||||
"fields": [
|
||||
{
|
||||
"prefix": "Query:",
|
||||
"description": "${query}"
|
||||
},
|
||||
{
|
||||
"prefix": "Document:",
|
||||
"description": "${document}"
|
||||
},
|
||||
{
|
||||
"prefix": "Reasoning: Let's think step by step in order to",
|
||||
"description": "${reasoning}"
|
||||
},
|
||||
{
|
||||
"prefix": "Relevance Score:",
|
||||
"description": "${relevance_score}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lm": null
|
||||
},
|
||||
"metadata": {
|
||||
"dependency_versions": {
|
||||
"python": "3.13",
|
||||
"dspy": "3.0.4",
|
||||
"cloudpickle": "3.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user