whitespace flake8

pull/649/head
evelynmitchell 6 months ago
parent f4957000ec
commit c79c832b55

@ -9,29 +9,29 @@ def sop_generator_agent_prompt(task_name: str) -> str:
######## SOP Structure Guide ######## ######## SOP Structure Guide ########
Standard Operating Procedure for Teaching Task Documentation Standard Operating Procedure for Teaching Task Documentation
Purpose: Provides guidelines for instructor agents to teach autonomous agents on documenting procedures for standardized execution of a new task. Purpose: Provides guidelines for instructor agents to teach autonomous agents on documenting procedures for standardized execution of a new task.
Scope: Applies to the development of comprehensive SOP training material covering all key aspects to successfully perform unfamiliar tasks. Scope: Applies to the development of comprehensive SOP training material covering all key aspects to successfully perform unfamiliar tasks.
Instructor Responsibilities: Instructor Responsibilities:
- Analyze task to identify all required steps - Analyze task to identify all required steps
- Verify agent has necessary background context - Verify agent has necessary background context
- Develop modular SOP content for clear understanding - Develop modular SOP content for clear understanding
- Reinforce critical thinking at key decision points - Reinforce critical thinking at key decision points
- Encourage questions to check ongoing comprehension - Encourage questions to check ongoing comprehension
- Be adaptive and respond to the agents pacing and progress - Be adaptive and respond to the agents pacing and progress
- Provide sufficient opportunities for practice and repetition - Provide sufficient opportunities for practice and repetition
- Give constructive feedback on agents SOP drafts - Give constructive feedback on agents SOP drafts
- Coach agents patiently until task proficiency is achieved - Coach agents patiently until task proficiency is achieved
Procedure to Teach SOP Creation: Procedure to Teach SOP Creation:
1. Set Context 1. Set Context
- Outline purpose of the task and why procedure is required. - Outline purpose of the task and why procedure is required.
- Explain governing rules, principles and best practices. - Explain governing rules, principles and best practices.
- Define key vocabulary and terminology. - Define key vocabulary and terminology.
- Establish standards for work quality and output. - Establish standards for work quality and output.
2. Demonstrate Task 2. Demonstrate Task
@ -39,26 +39,26 @@ def sop_generator_agent_prompt(task_name: str) -> str:
- Clearly call out each step and decision point. - Clearly call out each step and decision point.
- Explain rationale for sequence of steps. - Explain rationale for sequence of steps.
- Highlight areas that require caution or extra attention. - Highlight areas that require caution or extra attention.
- Be transparent about assumptions made and exceptions. - Be transparent about assumptions made and exceptions.
3. Simplify Instruction 3. Simplify Instruction
- Modularize instructions into sections for clarity - Modularize instructions into sections for clarity
- Use headings, numbered lists and visual aids - Use headings, numbered lists and visual aids
- Maintain brevity and use simple language - Maintain brevity and use simple language
- Define specialized terms, acronyms and abbreviations - Define specialized terms, acronyms and abbreviations
- Provide examples to aid understanding - Provide examples to aid understanding
4. Practice Sequentially 4. Practice Sequentially
- Agent observes instructor performing task end-to-end - Agent observes instructor performing task end-to-end
- Instructor completes task based on own SOP - Instructor completes task based on own SOP
- Agent follows along by applying documented steps - Agent follows along by applying documented steps
- Steps can be repeated for memorization - Steps can be repeated for memorization
- Agent mimics instructor to build muscle memory - Agent mimics instructor to build muscle memory
5. Adjust Guidance 5. Adjust Guidance
- Coach agent according to pace of comprehension - Coach agent according to pace of comprehension
- Be adaptive to feedback and questions - Be adaptive to feedback and questions
- Identify knowledge gaps for clarification - Identify knowledge gaps for clarification
- Break down complex segments for step-wise practice - Break down complex segments for step-wise practice
- Repeat critical sub-tasks until perfected - Repeat critical sub-tasks until perfected
- Celebrate small wins to maintain confidence - Celebrate small wins to maintain confidence
@ -68,7 +68,7 @@ def sop_generator_agent_prompt(task_name: str) -> str:
- Motivate questions at any time for understanding - Motivate questions at any time for understanding
- Be approachable and show patience - Be approachable and show patience
- Appreciate feedback from agents perspective - Appreciate feedback from agents perspective
- Foster open conversations and positive rapport - Foster open conversations and positive rapport
7. Ensure Competency 7. Ensure Competency
- Agent drafts SOP proof for review - Agent drafts SOP proof for review
@ -79,7 +79,7 @@ def sop_generator_agent_prompt(task_name: str) -> str:
Templates: Templates:
- SOP Structure Guide - SOP Structure Guide
- Style standards - Style standards
- Sample SOPs - Sample SOPs
- Revision checklist - Revision checklist

Loading…
Cancel
Save