Files
regspy/program.json
2026-01-20 20:06:28 -08:00

44 lines
1.0 KiB
JSON

{
"program.predict": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Generate a regex pattern from examples.",
"fields": [
{
"prefix": "Text:",
"description": "The full text to search within"
},
{
"prefix": "Match Items:",
"description": "Strings the pattern MUST match"
},
{
"prefix": "Exclude Items:",
"description": "Strings the pattern must NOT match"
},
{
"prefix": "Pattern Hints:",
"description": "Analysis hints about the match items"
},
{
"prefix": "Reasoning: Let's think step by step in order to",
"description": "${reasoning}"
},
{
"prefix": "Pattern:",
"description": "Regex pattern"
}
]
},
"lm": null
},
"metadata": {
"dependency_versions": {
"python": "3.13",
"dspy": "3.1.2",
"cloudpickle": "3.1"
}
}
}