This repository represents the detailed prompt engineering examples using elements of prompt formatted clearly for AI especially for Amazon Large Titan by considering four critical manufacturing problems. It is important to provide clear and concise prompts while interacting with AI systems
A prompt's form depends on a task you are giving to a model. As you explore prompt engineering example, you will review prompts containing some or all the following elements:
- Introduction provides a task description or instruction for how the model should perform
- Context is external information to guide the model
- Input data is the input for which you want a response
- Output indicator is the output type or format
Best practices for designing effective prompts
- Be clear and concise
- Include context if needed
- Use directives for the appropriate response type
- Consider the output in the prompt
- Start prompts with an integration
- Provide an example response
- Break up complex tasks
- Experiment and be creative
It is important to review the model's responses to ensure that the prompts are eliciting the appropriate quality, type, and range of responses. Make changes to the prompts if needed. You can even ask one copy of the model to improve or check output from another copy of the model. With experimentation, you will gain intuition for crafting and optimizing prompts to best suit your needs and models. Prompt engineering is an iterative skill and improves with practice
Evaluate the impact of unplanned customer orders and recommend ways to adjust production schedules, minimizing disruption and delays
A steel manufacturing plant receives unexpected customer orders that must be fulfilled quickly. This disrupts existing production and order sequences
"Here is the production schedule, available resource constraints, and new unplanned customer details:
- Current orders: [List of jobs and deadlines]
- New order quantity and desired delivery date: [Input quantity and deadline]
- Resource availability: [List of available mills, shift timings, constraints]"
Return an optimized schedule that includes the new order, highlighting:
- Suggested sequence of jobs
- Resource allocations
- Impact on existing order delivery times
- Proposed mitigation measures
Balance workloads across equipment and shifts, ensuring maximum utilization and minimal downtime
The manufacturing process has certain bottleneck resources (e.g. specific rolling mills) leading to delays, while other equipment operates below capacity
"Here is the current load across equipment lines and shift patterns:
- Resource status: [List of equipment, shift load, available slots]
- Order backlog: [List of pending jobs with processing times, due dates]
- Maintenance constraints: [List of downtime windows]"
Recommend:
- Adjusted shift allocations
- Dynamic load-balancing strategy
- Resource reassignments
- Projected improvements in lead times and equipment utilization
Help reduce excess finished goods inventory by aligning production closer to actual sales and order trends
The plant maintains higher finished goods and in-process inventory than required, causing increased holding costs and space constraints
"Here is the current finished goods and WIP inventory data:
- Inventory by SKU: [List SKU, quantity, location, turnover rate]
- Sales forecast: [List anticipated order volume by SKU/week]
- Production constraints: [List equipment constraints and lead times]
Should output:
- Suggested SKU production adjustment priorities
- Dynamic reallocation between Make-to-Stock (MTS) and Make-To-Order (MTO)
- Actionable recommendations for reducing aging inventory
- Suggested production batch sizes aligning with forecasted sales
Help identify delays and purpose realistic rescheduling and recovery options for late orders
Several customer orders have missed their promised due dates due to delays in upstream or downstream operations
"Here is the order status data:
- [List of delayed orders, quantity, due dates]
- [Status of in-process materials]
- [Resource availability and constraints]
- [Alternative processing lines available]"
Should produce:
- Recovery schedule with revised due dates
- Prioritized job queue
- Suggested overtime or shift changes
- Impact assessment and alternatives for critical customer committments
- Foundations of Prompt engineering
- Basic of AI systems (Amazon Titan Large)
"Prompt engineering is the art of extracting precision from intelligence"