Order Book by Voice
Ordering books on any subject from an AI Book Creation terminal through Voice Commands.

Order Book by Voice

This article necessitates a preliminary introduction as it builds upon the foundation laid in preceding articles, serving as a logical culmination of their concepts. In the following content, we will delve into the intricacies of utilizing code to engage with ChatGPT through vocal commands for the purpose of ordering books. ChatGPT, in response to your orders, will then proceed to generate the requested books. However, before delving into the specifics of this current article, it is imperative to provide you with insights gleaned from our prior articles. These antecedent pieces elucidate the path leading to our current state.

To begin, I would like to direct your attention to a previous article authored by me. In that piece, we explored the art of conversing with ChatGPT, elucidating the methodology for engaging in voice-driven interactions. This article comprehensively outlines the process of posing questions verbally to ChatGPT, which, in turn, furnishes articulate responses.

Having a conversation with ChatGPT

In a prior article, we discussed the development of a Book Generator tailored for ChatGPT. While our current solution eschews the use of XML in favor of text files, the underlying principles remain consistent. Much like placing an order for your favorite items at a McDonald's restaurant, we continue to employ a book engine that processes orders to fulfill the generation of books.

ChatGPT Books Generator

In a separate article, we discussed the process of obtaining images from ChatGPT using straightforward commands. Detailed code for this functionality is readily accessible for exploration.

Getting Images from ChatGPT

In a previous article, we explored the concept of augmenting human intelligence through the integration of ChatGPT. Concerns have arisen among individuals who fear that automated content generation may undermine human creativity. However, I firmly believe that it has the potential not only to enhance human innovation and creativity but also to bolster human intelligence. This is because the additional "intelligence" provided by ChatGPT can serve as a source of inspiration that ignites and amplifies human intellect.

Amplifying Human Intelligence

Drawing from the insights shared in prior articles, along with the content presented in this piece regarding the voice-activated ordering of books at Book Creation Terminals, it becomes evident how the gaming industry could substantially leverage ChatGPT. By integrating ChatGPT, computer characters can attain unprecedented levels of intelligence, rendering them highly autonomous. Moreover, in-game conversations can trigger multifaceted layers of intelligence and introduce an array of variations.

The voice-activated book ordering concept easily lends itself to the translation of other commands, thereby unveiling a whole new realm of possibilities.

Lastly, let us not overlook the culmination of knowledge presented in the four preceding articles on the Book Factory, each building upon the other in chronological order:

FAST Creating Book Engine

AI Book Engine Improved

Books at The Speed of Thought

AI Book Factory, A New Frontier

Book Factory Professional Book

After establishing the foundation leading up to the current article, let us now delve into its core content. Essentially, the focus of this article is the remarkable capability to procure books through a simple interaction with ChatGPT. By merely specifying the book's topic, the desired quantity, the number of chapters per book, and the inclusion of images, you can initiate this process with a command similar to the following:

"I want to have 3 books about the Scrum Master in complex organizations and I want to have 18 chapters and I want to have images."

Or

"Give me 3 books about the Scrum Master in complex organizations, with 18 chapters and Images"

...and probably some more similar orders all resulting in the following string:

"<topic> <number of books> <number of chapters> <number of books per topic> <Images>"

Which looks like:

"Scrum Master in complex organizations" 3 18 1 true

You could of course also say "no images" and all above will be the same but in the end the true will be false.

And when fed to the computer it will generate the books because it is the same command given to the already existing Book Generator in the previous article:

Book Factory Professional Book

The sole addition here is the incorporation of voice functionality, and it's worth noting that this interaction is bidirectional. As a user, you can communicate verbally with ChatGPT, and in return, the AI will respond using voice. This represents a glimpse into the imminent future.

Picture a landscape where Book Creation AI terminals facilitate spoken orders for books. The potential applications of such a innovation are nothing short of astonishing. Allow me to illustrate with some examples:

  • A terminal for kids where kids can ask the AI terminal to create books on any topic they like, with or without images.

The kid is asking for books on any subject it likes.

  • A doctor asking for articles based on scientific health issues it wants some more background on before treating a patient

Doctor asking for some more background information on healthcare

  • A poor person in a poor country asking for information for the way to find help for shelter and food

Poor people asking for information to get help, food and shelter in the area

  • Tourists asking for a tour guide in the foreign city they are to information on the best places to visit

Tourist asking for guides to the best places in the city or other things

  • A novel and thriller writer discussing the plots and storylines with the AI terminal to come up with the best ideas. Also asking for best dialogues and such.

A writer discussing his next book plot, dialogues and storylines.

  • A brilliant mathematician and professor asking for a combination of mathematical truths to formulate his own findings in a better way and get inspiration to define new mathematical dimensions

Mathematicians sharpening his brains with AI food

Well, you get the drift. Many more examples could be given. You can also enhance the code so the books will be published to the internet, your OneDrive, Google Drive or other online places. Sky and imagination are the limit.

High School student asking for a specific paper and save it online.

The code is 'somewhat' documented.

Issue: from ordering 4 books the content files are most trustworthy and thus the resulting books. Below 4 it becomes a bit 'buggy'. But, it's working code. You can finetune the bugs yourself. That's the fun of programming.

Happy coding.


Example of commands:

Writeyourownbooktest.exe "speak" // Activates voice command.

// <Subject> <Amount of books> <amount of chapters> <
Writeyourownbooktest.exe "Jewish Mysticism" 4 18 1 yes

Writeyourownbooktest.exe // Gives overview of parameters.        

Important: When creating a document with images, be sure to save it to PDF or another format. You get a link to the image and the link will only be available for some time.

Remark: the code is "as is". I did not try to make beautiful code or split things up in methods/regions where that should have been done. That's up to you when using the ideas in th code. It's more about the ideas, then the code itself.

Full Code: Full_Article_Code

Command documentation

要查看或添加评论,请登录

社区洞察

其他会员也浏览了