This commit is contained in:
2026-01-20 20:06:28 -08:00
parent 36d43d820e
commit 14dfbaa6da
8 changed files with 1572 additions and 0 deletions

44
program.json Normal file
View File

@@ -0,0 +1,44 @@
{
"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"
}
}
}