Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Create a better issue template (#7398)

Chen Qiana5f2f6951b6c
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index d9902d307..000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: bug
-assignees: ''
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**Code to Reproduce**
-Please provide a code snippet or a github gist for reproducing purpose.
-
-**DSPy Versions**
-Tell us your DSPy version.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 000000000..d8d6054a1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,39 @@
+
+name: Bug Report
+description: Report a bug in the project
+title: "[Bug] "
+labels: bug
+body:
+ - type: markdown
+ attributes:
+ value: |
+ ## 🐛 Bug Report
+ Please fill out all required fields to help us diagnose and fix the issue.
+
+ - type: textarea
+ id: description
+ attributes:
+ label: "What happened?"
+ description: "Clearly describe the unexpected behavior."
+ placeholder: "Example: When I try to save a file, I get an error message..."
+ value: ""
+ validations:
+ required: true
+
+ - type: textarea
+ id: steps-to-reproduce
+ attributes:
+ label: "Steps to reproduce"
+ description: "Tell us how to reproduce the issue."
+ placeholder: "Please provide a code snippet or a github gist for reproducing purpose."
+ validations:
+ required: true
+
+ - type: input
+ id: environment
+ attributes:
+ label: "DSPy version"
+ description: "Tell us your DSPy version."
+ validations:
+ required: true
+
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index dbf0d8cc2..000000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-name: Feature request
-about: Suggest an idea for this project
-title: ''
-labels: enhancement
-assignees: ''
-
----
-
-**Describe the feature**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Additional context**
-Any additional context you would like to provide?
-
-** Would you like to contribute to this feature?**
-- [ ] Yes, I'd like to help with implementation
-- [ ] No, I just want to request the feature
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 000000000..4c07d15ed
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,34 @@
+name: Feature Request
+description: Suggest a new feature or improvement
+title: "[Feature] "
+labels: enhancement
+body:
+ - type: markdown
+ attributes:
+ value: |
+ ## 🚀 Feature Request
+ Please fill out the following details.
+
+ - type: textarea
+ id: description
+ attributes:
+ label: "What feature would you like to see?"
+ description: "Describe the feature clearly."
+ value: ""
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: contribute
+ attributes:
+ label: "Would you like to contribute?"
+ options:
+ - label: Yes, I'd like to help implement this.
+ - label: No, I just want to request it.
+
+ - type: textarea
+ id: additional-info
+ attributes:
+ label: "Additional Context"
+ description: "Any links, references, or extra details?"
+ placeholder: "Example: This feature exists in XYZ tool."