updated sops apis and questions generator

This commit is contained in:
2024-09-25 21:40:08 +00:00
parent 1bfc773782
commit cd10cdaf7d
11 changed files with 84 additions and 114 deletions
+6 -6
View File
@@ -317,16 +317,16 @@ def get_sop_for_department_workers():
}
'''
def get_sop_for_department_workers():
return '''Generate SOPs for each worker under the unique department based on the information the workers info provided
def get_sop_for_department_managers():
return '''Generate SOPs for each manager under the unique department based on the information the managers info provided
Instructions:
1. Focus on the provided department and manager role.
2. Categorize SOPs into "must," "shall," and "will."
3. SOPs should be actionable and relevant to the worker's duties.
3. SOPs should be actionable and relevant to the manager's duties.
4. If no SOPs can be generated, return empty lists for each category.
5. Use the provided document and the workers and department information to generate the SOP.
6. If the provided document cannot provide SOPs for a specific worker stated, then return an empty list for the SOP for that worker.
5. Use the provided document and the managers and department information to generate the SOP.
6. If the provided document cannot provide SOPs for a specific manager stated, then return an empty list for the SOP for that worker.
Example forma
{
@@ -335,7 +335,7 @@ def get_sop_for_department_workers():
"name": "Department A",
"managers": [
{
"name": "Worker A",
"name": "manager A",
"must": ["Conduct weekly meetings"],
"shall": ["Submit monthly reports"],
"will": ["Improve efficiency"]