Book Presentation Workflow
Tags: cozechallenge, devechallenge, ai, machinelearning
Published: 2024-04-28 21:13:38

*This is a submission for the [Coze AI Bot Challenge](https://dev.to/devteam/join-us-for-the-coze-ai-bot-challenge-3000-in-prizes-4dp): Trailblazer.*

## What I Built
<!-- Tell us what your plugin or workflow does and what problem it solves -->

This workflow creates a content for a slide presentation on a book by accepting a book title from the user. 

Starting with the inputted book title, the workflow attempts to create a summary of the book's content with multiple bulletpoints. This summary with bulletpoints is then utilized by multiple LLMs and images generators to create multiple sets of notes and images that can be used to build the individual slides of the book presentation. Another LLM uses the book summary to find a suitable quote that can be conclusion or summary of the book presentation.  

This is a great bot for people who would like to share what they have read with an audience through a 3 to 20 minute-long speech with an accompanying slide presentation. In my own experience, I give 1 to 3 speeches of this style to a public speaking club every month. This workflow would be able to save me 1 to 3 hours of work per speech by summarizing the book and assembling the materials for the slide presentation.


## Demo

<!-- If submitting a plugin, share a link to your plugin in the Coze Plugin Store -->

<!-- Screenshot or record your plugin/workflow setup and show us what it can do.  -->

### Setup (3 images)

**Full Workflow**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a1kgxtgxoqm1wohvln8o.png)

**Start**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w46tdbyb1gm310xxsviz.png)

**Finish**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u7mb4d6999j4rlf01x0u.png)


### Sample Results

**Image**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/drhfh8j7wbhvgzfkmwkg.png)

**Sample Output Text**

--------------------------------------------------------

{
  "BookSummary": "The Autobiography of Benjamin Franklin is the personal memoir of Benjamin Franklin, one of the founding fathers of the United States. It covers his life from childhood to adulthood, detailing his rise from a humble printer to a respected statesman, inventor, and scientist. The autobiography is renowned for its candid and democratic tone.",
  "BulletpointImages": "![Create an image that depicts Benjamin Franklin in a study or library setting, surrounded by objects and symbols that represent his philosophy, inventions, and historical events mentioned in his autobiography. Ensure the image is photorealistic and includes a person resembling Benjamin Franklin.](https://p16-flow-sign-va.ciciai.com/ocean-cloud-tos-us/5a8f66b7ddd4475a8625d67728749421.png~tplv-6bxrjdptv7-image.png?rk3s=18ea6f23&x-expires=1745866227&x-signature=sgCdKyQITuHsyNW2vaiMH4ttGsE%3D)",
  "BulletpointNotes": "1. The book provides readers with insights into Franklin's philosophy and innovative approach to self-improvement, which includes his famous '13 virtues'.\n- Franklin's philosophy of self-improvement can be directly applied to business leadership. By adopting his '13 virtues' such as industry, frugality, and justice, leaders can cultivate a culture of discipline, hard work, and fairness within their organizations.\n- Franklin's innovative approach to self-improvement can inspire business leaders to think outside the box and constantly strive for personal and professional growth. By embracing a mindset of continuous learning and improvement, leaders can create a culture of innovation and adaptability within their teams.\n\n2. It details Franklin's contributions as an inventor, including the lightning rod, bifocal glasses, and the Franklin stove.\n- Franklin's inventions highlight the importance of creativity and problem-solving in business. By studying his inventive mindset, leaders can encourage their teams to think creatively and find innovative solutions to challenges.\n- Franklin's contributions as an inventor also demonstrate the value of practicality and utility. Business leaders can learn from his focus on creating inventions that have a tangible impact and provide value to society, guiding them to prioritize products and services that meet customer needs.\n\n3. The autobiography also sheds light on key historical events, such as the American Revolution and the drafting of the U.S. Constitution, through Franklin's perspective.\n- Franklin's perspective on historical events can offer valuable insights into leadership during times of change and uncertainty. Business leaders can learn from his ability to navigate challenging situations, make strategic decisions, and build alliances to achieve common goals.\n- By understanding the historical context in which Franklin operated, business leaders can gain a broader perspective on the role of leadership in shaping the future. Franklin's experiences can inspire leaders to think long-term, anticipate trends, and proactively adapt their strategies to stay ahead in a rapidly changing business landscape.\n\n4. Franklin's autobiography is recognized for its influence on the autobiography genre, being one of the first autobiographies that achieved literary status.\n- Franklin's autobiography demonstrates the power of storytelling in leadership. By sharing his personal journey, challenges, and successes, Franklin inspires business leaders to be authentic, vulnerable, and transparent in their own leadership style.\n- The literary status of Franklin's autobiography emphasizes the importance of effective communication in leadership. Business leaders can learn from his ability to articulate his ideas, values, and vision, and use storytelling as a tool to engage and motivate their teams.",
  "Bulletpoints": [
    "The book provides readers with insights into Franklin's philosophy and innovative approach to self-improvement, which includes his famous '13 virtues'.",
    "It details Franklin's contributions as an inventor, including the lightning rod, bifocal glasses, and the Franklin stove.",
    "The autobiography also sheds light on key historical events, such as the American Revolution and the drafting of the U.S. Constitution, through Franklin's perspective.",
    "Franklin's autobiography is recognized for its influence on the autobiography genre, being one of the first autobiographies that achieved literary status."
  ],
  "EndingQuote": "\"Investing in yourself is the best investment you will ever make. It will not only improve your life, it will improve the lives of all those around you.\" - Benjamin Franklin, The Autobiography of Benjamin Franklin",
  "StartingImage": "![Create a photorealistic image that illustrates each of the key milestones in Benjamin Franklin's life as described in The Autobiography of Benjamin Franklin. Include a person in the image if possible.](https://p16-flow-sign-va.ciciai.com/ocean-cloud-tos-us/e040fffb5db14f719d8c9935e9849dc8.png~tplv-6bxrjdptv7-image.png?rk3s=18ea6f23&x-expires=1745866228&x-signature=T4qvzhD55%2B7eNsodGMRl6aBZxe8%3D)",
  "StartingNotes": "1. Benjamin Franklin's Autobiography is a highly regarded piece of literature among business leaders due to its emphasis on self-improvement and entrepreneurship. Franklin shares his practical advice and strategies for success, such as his daily routine and his belief in the power of hard work and perseverance.\n\n2. The Autobiography of Benjamin Franklin was initially published in 1791, after Franklin's death. It quickly gained popularity among business leaders and entrepreneurs of the time, who were inspired by Franklin's rags-to-riches story and his innovative ideas.\n\n3. Franklin's Autobiography became a bestseller and has remained a classic in the business world for its timeless wisdom and practical insights. It continues to be recommended by business leaders and entrepreneurs as a must-read for anyone seeking personal and professional growth.\n\n4. Franklin's Autobiography showcases his belief in the importance of self-education and continuous learning. He shares his experiences of seeking knowledge and improving himself throughout his life, which resonates with business leaders who value lifelong learning and personal development."
}

--------------------------------------------------------



## Journey

<!-- Tell us about your process, what you learned, anything you are particularly proud of, what you hope to do next, etc. -->

I had been looking for AI tools to help me organize my education and reading materials. There are many AI tools out there, but Coze was very easy to use compared to the others that I have tried. Its UI/UX interface and the separation of tools/abilities were intuitive to work with.

I first worked with Coze at the Hacker Dojo event on April 27, 2027. Within an hour, I already had a working bot with multiple interconnected skills and the outline of this complex workflow. The workflow expands on the idea of the Book Report App but links far more output content. 

**Problems I encountered** included not understanding how to use the multiple bulletpoints as individual prompts to create a matching image and detailed notes on that bulletpoint. The batch job setup of the LLMs and the Image Generator widgets seemed to be able to accept an array of text, but it seemed to break during operation with an error message about the server. I was not clear if this error was a real problem on the server or if I had exceeded the token bounds or operation bounds on my account. 

**For the future**, I would like to expand the input options from a single book title to the option of uploading the book in a pdf file. This expanded input option would allow me to organize more recently published books and content that might not be known to the LLMs.

I would **very much** like to use this workflow in the future to reduce my work and increase my productivity. I hope to work with the Coze documents and staff to fix the batch processing problem that I encountered (which is documented above). 


<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image (if you want). -->

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eqd5g41vw7gwgc2olnqu.jpg)


<!-- Thanks for participating! -->