(no commit message)
This commit is contained in:
28
config.json
Normal file
28
config.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"model": "openai/gpt-4o-mini",
|
||||||
|
"signature": {
|
||||||
|
"description": "Summarize the given text into a concise summary.",
|
||||||
|
"properties": {
|
||||||
|
"text": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "The text to summarize",
|
||||||
|
"prefix": "Text:",
|
||||||
|
"title": "Text",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"summary": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "A concise summary of the text",
|
||||||
|
"prefix": "Summary:",
|
||||||
|
"title": "Summary",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"text",
|
||||||
|
"summary"
|
||||||
|
],
|
||||||
|
"title": "SummarizeSignature",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
26
program.json
Normal file
26
program.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Summarize the given text into a concise summary.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"prefix": "Text:",
|
||||||
|
"description": "The text to summarize"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Summary:",
|
||||||
|
"description": "A concise summary of the text"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lm": null,
|
||||||
|
"metadata": {
|
||||||
|
"dependency_versions": {
|
||||||
|
"python": "3.11",
|
||||||
|
"dspy": "3.1.2",
|
||||||
|
"cloudpickle": "3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user