added goal achievment preditions
This commit is contained in:
@@ -147,3 +147,47 @@ def predict_next_n_assessments_prompt():
|
||||
"""
|
||||
|
||||
return prompt
|
||||
|
||||
def recommend_assessment_frequency_prompt():
|
||||
return '''
|
||||
You are provided with the Standard Operating Procedures (SOPs) for various roles within a company. Your task is to collectively recommend the best assessment type and frequency (either weekly, biweekly, or quarterly) for all employees based on the overall nature of the SOPs.
|
||||
|
||||
Consider the following when making your recommendation:
|
||||
- The overall complexity and criticality of the tasks outlined in the SOPs.
|
||||
- The frequency of updates or changes needed to the roles or procedures.
|
||||
- The urgency of the responsibilities and their potential impact on the company's performance.
|
||||
- The balance between the need for regular evaluations and avoiding employee overload.
|
||||
- The need for continuous monitoring for key goals such as compliance, safety, or mission-critical objectives.
|
||||
|
||||
Provide a concise and collective assessment recommendation:
|
||||
- Assessment Type: [Weekly/Biweekly/Quarterly]
|
||||
- Frequency: [X weeks/biweeks/quarters]
|
||||
- Justification: Explain the rationale for choosing the recommended assessment type and frequency based on the overall SOP content.
|
||||
|
||||
Example Response:
|
||||
"Based on the complexity and critical nature of the tasks described in the SOPs, it is recommended that assessments be conducted biweekly for 6 biweeks. This frequency will allow for regular progress reviews without overwhelming employees, while ensuring that critical objectives such as compliance and security are met."
|
||||
'''
|
||||
|
||||
|
||||
def predict_goal_achievement_probability_prompt():
|
||||
|
||||
return '''
|
||||
|
||||
You are provided with summary stats of past assessments and general basic information about the company.
|
||||
|
||||
Your goal is to predict two things after analyzing the summary statistics and the company info:
|
||||
|
||||
1. Goal achievement probability: Predict if the company can meet its goals and vision within the original deadline and the reasoning behind it.
|
||||
2. Goal achievement probability for new assessment: Predict whether a worker will meet the deadline, and if not, specify the extension needed in weeks or days to complete the assessments.
|
||||
|
||||
Example response: -->
|
||||
{
|
||||
"goal_achievement": {
|
||||
"predictions": "Based on the analysis of previous assessments and current data, it is anticipated that the company may not meet its goals by the original deadline.",
|
||||
"reasoning": "The data indicates that workers are currently falling behind on completing their assessments. With the current rate of progress, it is expected that an extension of approximately 2 weeks beyond the original due date may be required to complete all assessments."
|
||||
},
|
||||
"goal_achievement_new_assessment": "Based on previous assessments, it is anticipated that the workers will not be able to complete the assessments on time. They may require an extension of approximately 2 weeks beyond the due date to complete the assessment."
|
||||
}
|
||||
|
||||
Be dynamic in your response and you do not need to write as exactly as it is the example response , just keep the format but your response after the analysis should be dynamic and professional
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user