Bringing Creativity, Agility, and Efficiency with Generative AI in Industries 24th Edition | Page 58

Unlock the Potential of Open AI in Smart Manufacturing
a form of production that combines the efficiency of mass production with the variety and personalization of custom-made products ."
query = " What are the benefits of mass customization in manufacturing ?"
# Define the prompt for the model prompt = f " Document : { document }\ nQuery : { query }\ nSummary :"
# Generate a summary using the OpenAI API response = openai . Completion . create ( engine =" davinci ", prompt = prompt , max _ tokens = 50 , temperature = 0.3 , stop ="\ n "
)
# Print the summary summary = response [" choices "][ 0 ][" text "] print ( summary )
The output of this code is :
Summary : Mass customization in manufacturing offers several benefits , such as increasing customer satisfaction , loyalty , and retention ; enhancing product differentiation and competitive advantage ; reducing inventory costs and risks ; and improving operational efficiency and flexibility .
Journal of Innovation 53