updated sops apis and questions generator
This commit is contained in:
+6
-6
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user