added goal achievment preditions

This commit is contained in:
2024-09-17 22:39:07 +00:00
parent 47a274741f
commit 1bfc773782
10 changed files with 325 additions and 20 deletions
+10 -7
View File
@@ -1,16 +1,17 @@
def get_sop_extraction_from_doc():
return '''Your task is to extract the "Vision", "Mission", and role-specific Standard Operating Procedures (SOPs) from the provided document.
return '''Your task is to generate Standard Operating Procedures (SOPs) for the verified workers based on the provided document and their positions.
You must extract and categorize the SOPs into three categories: "must", "shall", and "will."
Instructions:
1. **Vision**: Extract the vision of the company or organization.
2. **Mission**: Extract the mission of the company or organization. If not explicitly mentioned, consider the mission as the company's goals.
3. **Role-specific SOPs**:
- Categorize the questions under three categories: "must," "shall," and "will."
- The questions should be directly addressed to the person in the role. Do not reference the role itself in the question.
- If SOPs for the role are not explicitly stated, infer them from the context, but only if there is clear evidence within the document. Do not generate or assume SOPs that are not directly supported by the document.
- If no SOPs are found for the role, return an empty list for each category.
Provide the extracted sections exactly as they appear in the document.'''
3. **Position-specific SOPs**:
- Categorize the SOPs under three categories: "must," "shall," and "will."
- The SOPs should be directly relevant to the verified workers' positions and responsibilities, ensuring that the position names remain exactly the same as provided.
- If multiple workers share the same position, generate a single set of SOPs for that position., Do not repeat it for the same position
- If SOPs for the position are not explicitly stated, infer them from the context, but only if there is clear evidence within the document. Do not generate or assume SOPs that are not directly supported by the document.
- If no SOPs are found for the position, return an empty list for each category.
Use the provided workers' information to ensure the SOPs are tailored to the verified workers.'''
def get_roles_extraction_from_questionnaire():
@@ -345,3 +346,5 @@ def get_sop_for_department_workers():
]
}
'''