return'''Your task is to extract the "Vision", "Mission", and role-specific Standard Operating Procedures (SOPs) from the provided document.
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.'''
return'''Your task is to generate Standard Operating Procedures (SOPs) based on the responses to the questionnaire provided.
You must extract and categorize the SOPs into three categories: "must,""shall," and "will."
Instructions:
1. **Vision or Strategic Direction**: Use the provided project vision or strategic direction to align SOPs with the overall goals of the project.
2. **Roles**: Generate SOPs for the specific roles required for the project.
3. **Responsibilities**: For each role, use the outlined key responsibilities to generate SOPs.
4. **Project Details**: Incorporate any additional project information to ensure the SOPs reflect the full scope of the project.
Role-specific SOPs:
- Categorize the SOPs under three categories: "must,""shall," and "will."
- The SOPs should be directly aligned with the role and responsibilities provided in the questionnaire.
- If SOPs for the role are not explicitly mentioned, infer them from the context of the responsibilities, vision, and project details, but only if there is clear evidence. Do not generate or assume SOPs that are not directly supported by the information provided.
- If no SOPs are found for the role, return an empty list for each category.
Provide the generated SOPs based on the questionnaire responses.'''
returnf"""Your job is to generate Standard Operating Procedures (SOPs) for the role of "{role}" with a focus on the areas "{areas}" based on the following instructions:
Instructions:
Categorization: Organize the SOPs under the selected categories: a checkboxex of the three categories "must" , "shall" and "will"
So use the selected sop types categories: {sop_types}
Direct Instructions: The SOPs should directly address responsibilities, objectives, and challenges related to the area of "{areas}" for the role of "{role}".
Contextual Inference: If SOPs for the area are not explicitly stated, infer them from the role and area context provided.
Empty Lists: If no SOPs are generated, return an empty list for each category.
returnf"""Your task is to generate Standard Operating Procedures (SOPs) for executives namely:{executive} based on the provided vision and goals/mission.
You must extract and categorize the SOPs into three categories: "must,""shall," and "will."
Instructions:
1. **Vision**: Use the provided vision to align SOPs with the overall direction of the organization.
2. **Goals**: Utilize the specified goals to create SOPs that support their achievement.
3. **Executive-level SOPs**:
- Categorize the SOPs under three categories: "must,""shall," and "will."
- The SOPs should be directly aligned with executive responsibilities and decision-making.
- Ensure the SOPs reflect high-level strategic thinking and leadership expectations.
- If SOPs are not explicitly mentioned, infer them from the context of the vision and goals, but only if there is clear evidence. Do not generate or assume SOPs that are not directly supported by the information provided.
- If no SOPs can be generated, return an empty list for each category.
Provide the generated SOPs based on the vision and goals, focusing on executive-level responsibilities and actions."""
defget_vision_mission_extraction_from_doc():
return"""Extract vision and mission statements from the document:
1. Analyze for explicit or implicit statements.
2. Vision: Long-term aspirations or ideal future state.
3. Mission: Organization's purpose, core functions, or primary objectives.
4. Include multiple statements if found.
5. Infer from context if not explicit.
6. Format as two lists: vision and mission.
7. Return empty list if none found for either category.
Provide extracted or inferred vision and mission statements."""
''' def get_sop_executive_for_managers():
return Your task is to extract the "Vision", "Mission", and executive-generated Standard Operating Procedures (SOPs) specifically for managers from the provided document.
Instructions:
1. **Vision**: Extract the vision of the company or organization as outlined by the executives.
2. **Mission**: Extract the mission of the company or organization. If not explicitly mentioned, consider the mission as the company's strategic goals.
3. **Executive-generated SOPs for Managers**:
- Categorize the SOPs under three categories: "must,""shall," and "will."
- The SOPs should be specific to the managerial role (e.g., handling team performance, reporting, budgeting, etc.).
- If SOPs for managers are not explicitly stated, infer them from the context provided by the executives, but only if there is clear evidence within the document.
- Do not generate or assume SOPs that are not directly supported by the document or the executive directives.
- If no SOPs are found for managers, return an empty list for each category.
Provide the extracted sections exactly as they appear in the document.