diff --git a/README.md b/README.md index e69de29..1388a48 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,3 @@ +--- +{} +--- \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..7c43cbd --- /dev/null +++ b/config.json @@ -0,0 +1,81 @@ +{ + "model": null, + "signature": { + "description": "Classify an English support ticket into both issue type and queue. As you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.", + "properties": { + "subject": { + "__dspy_field_type": "input", + "desc": "Support ticket subject.", + "prefix": "Subject:", + "title": "Subject", + "type": "string" + }, + "body": { + "__dspy_field_type": "input", + "desc": "Support ticket body content.", + "prefix": "Body:", + "title": "Body", + "type": "string" + }, + "reasoning": { + "__dspy_field_type": "output", + "desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.", + "prefix": "Reasoning:", + "title": "Reasoning", + "type": "string" + }, + "type": { + "__dspy_field_type": "output", + "desc": "One of: Change, Incident, Problem, Request, (null).", + "enum": [ + "Change", + "Incident", + "Problem", + "Request", + "(null)" + ], + "prefix": "Type:", + "title": "Type", + "type": "string" + }, + "queue": { + "__dspy_field_type": "output", + "desc": "One of: Arts & Entertainment/Movies, Arts & Entertainment/Music, Autos & Vehicles/Maintenance, Autos & Vehicles/Sales, Beauty & Fitness/Cosmetics, Beauty & Fitness/Fitness Training, Billing and Payments, Books & Literature/Fiction, Books & Literature/Non-Fiction, Business & Industrial/Manufacturing, Customer Service, Finance/Investments, Finance/Personal Finance, Food & Drink/Groceries, Food & Drink/Restaurants, Games, General Inquiry, Health/Medical Services, Health/Mental Health, Hobbies & Leisure/Collectibles.", + "enum": [ + "Arts & Entertainment/Movies", + "Arts & Entertainment/Music", + "Autos & Vehicles/Maintenance", + "Autos & Vehicles/Sales", + "Beauty & Fitness/Cosmetics", + "Beauty & Fitness/Fitness Training", + "Billing and Payments", + "Books & Literature/Fiction", + "Books & Literature/Non-Fiction", + "Business & Industrial/Manufacturing", + "Customer Service", + "Finance/Investments", + "Finance/Personal Finance", + "Food & Drink/Groceries", + "Food & Drink/Restaurants", + "Games", + "General Inquiry", + "Health/Medical Services", + "Health/Mental Health", + "Hobbies & Leisure/Collectibles" + ], + "prefix": "Queue:", + "title": "Queue", + "type": "string" + } + }, + "required": [ + "subject", + "body", + "reasoning", + "type", + "queue" + ], + "title": "TobiSupportTypeJudgeSig", + "type": "object" + } +} \ No newline at end of file diff --git a/program.json b/program.json new file mode 100644 index 0000000..a005ee7 --- /dev/null +++ b/program.json @@ -0,0 +1,48 @@ +{ + "traces": [], + "train": [], + "demos": [], + "signature": { + "instructions": "Classify an English support ticket into both issue type and queue. As you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.", + "fields": [ + { + "prefix": "Subject:", + "description": "Support ticket subject." + }, + { + "prefix": "Body:", + "description": "Support ticket body content." + }, + { + "prefix": "Reasoning:", + "description": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant." + }, + { + "prefix": "Type:", + "description": "One of: Change, Incident, Problem, Request, (null)." + }, + { + "prefix": "Queue:", + "description": "One of: Arts & Entertainment/Movies, Arts & Entertainment/Music, Autos & Vehicles/Maintenance, Autos & Vehicles/Sales, Beauty & Fitness/Cosmetics, Beauty & Fitness/Fitness Training, Billing and Payments, Books & Literature/Fiction, Books & Literature/Non-Fiction, Business & Industrial/Manufacturing, Customer Service, Finance/Investments, Finance/Personal Finance, Food & Drink/Groceries, Food & Drink/Restaurants, Games, General Inquiry, Health/Medical Services, Health/Mental Health, Hobbies & Leisure/Collectibles." + } + ] + }, + "lm": { + "model": "together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo", + "model_type": "chat", + "cache": true, + "num_retries": 3, + "finetuning_model": null, + "launch_kwargs": {}, + "train_kwargs": {}, + "temperature": null, + "max_tokens": null + }, + "metadata": { + "dependency_versions": { + "python": "3.11", + "dspy": "3.1.3", + "cloudpickle": "3.1" + } + } +} \ No newline at end of file