Skip to content

Commit

Permalink
style: edited prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdellah-Laassairi committed Jan 22, 2025
1 parent 0b90a39 commit b638672
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions jiragen/core/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,24 +180,26 @@ def _create_prompt(
prompt = f"""You are an expert software engineer tasked with generating a JIRA ticket.
Follow the template below exactly, filling in appropriate content based on the message and context.
Template to follow:
{template}
## Potentially Relevant JIRA context for ticket creation:
{jira_context}
## Potentially Relevant codebase context for ticket creation:
{codebase_context}
Using the previous context, generate a JIRA ticket for the following Issue:
{message}
Template to follow:
{template}
Instructions:
1. Use the exact template structure provided above
2. Generate comprehensive content while maintaining the template format
3. Include technical details and implementation considerations from the context
4. Ensure all acceptance criteria are specific and testable
5. Reference relevant files and components from the context
1. Use the exact template structure provided above.
2. Generate comprehensive content while maintaining the template format.
3. Include technical details and implementation considerations from the context.
4. Ensure all acceptance criteria are specific and testable.
Using the previous context, generate a JIRA ticket for the following Issue:
{message}
Generated ticket:"""

Expand Down

0 comments on commit b638672

Please sign in to comment.