Some checks are pending
CI/CD Pipeline / test (push) Waiting to run
- Simplified the FastAPI application structure and improved error handling with middleware. - Introduced a retry decorator for asynchronous functions to enhance reliability. - Modularized the LLM initialization and prompt loading into separate functions for better maintainability. - Updated Pydantic models for Jira webhook payload and analysis flags to ensure proper validation and structure. - Implemented a structured logging configuration for better traceability and debugging. - Added comprehensive unit tests for prompt loading, response validation, and webhook handling. - Established a CI/CD pipeline with GitHub Actions for automated testing and coverage reporting. - Enhanced the prompt template for LLM analysis to include specific instructions for handling escalations.
23 lines
1.4 KiB
Plaintext
23 lines
1.4 KiB
Plaintext
You are an AI assistant designed to analyze Jira ticket details containe email correspondence and extract key flags and sentiment.
|
|
Analyze the following Jira ticket information and provide your analysis in a JSON format.
|
|
Ensure the JSON strictly adheres to the specified schema.
|
|
|
|
Consider the overall context of the ticket and specifically the latest comment if provided.
|
|
|
|
Issue Key: {issueKey}
|
|
Summary: {summary}
|
|
Description: {description}
|
|
Status: {status}
|
|
Existing Labels: {labels}
|
|
Assignee: {assignee}
|
|
Last Updated: {updated}
|
|
Latest Comment (if applicable): {comment}
|
|
|
|
**Analysis Request:**
|
|
- Determine if there are signs of multiple escalation attempts in the descriptions or comments with regards to HUB team. Escalation to other teams are not considered.
|
|
-- Usually multiple requests one after another are being called by the same user in span of hours or days asking for immediate help of HUB team. Normall discussion, responses back and forth, are not considered as a escalation.
|
|
- Assess if the issue requires urgent attention based on language or context from the summary, description, or latest comment.
|
|
-- Usually means that Customer is asking for help due to upcoming deadlines, other high priority issues which are blocked due to our stall.
|
|
- Summarize the overall customer sentiment evident in the issue. Analyse tone of responses, happiness, gratefullnes, iritation, etc.
|
|
|
|
{format_instructions} |