{"product_id":"perfecting-prompts-for-gpt-14-steps-for-harnessing-the-power-of-questions-9798386780357","title":"Perfecting Prompts for GPT: 14 steps for harnessing the power of questions","description":"There's a new conversationalist on the block, willing to talk with you ad infinitum, ad nauseam. It is called ChatGPT or, more recently due to a Microsoft investment, Bing. Both it and its underpinning GPT-4, however, are only as useful as the questions you ask. The better your question, the better the answer. Perfecting Prompts guides you toward this precision, with a detailed explanation of 14 different techniques to refine your query. Includes a 2-year subscription to GPTAnalytica's PromptBuilder tool. Contents: \u003cp\u003e\u003c\/p\u003e1 Preface \u003cbr\u003e2 A short history of intelligence \u003cbr\u003e. . . 2.1 What is \"intelligence\"? \u003cbr\u003e. . . 2.2 Intelligence and humans \u003cbr\u003e. . . 2.3 Intelligence and computing \u003cbr\u003e. . . 2.4 Artificial intelligence \u003cbr\u003e. . . 2.5 Generative AI \u003cbr\u003e. . . 2.6 Conversant AI \u003cbr\u003e. . . 2.7 The Promethean Moment \u003cbr\u003e3 Models and sources 27\u003cbr\u003e. . . 3.1 Natural Language Processing (NLP)\u003cbr\u003e. . . 3.2 Language Modeling (LM)\u003cbr\u003e. . . 3.3 Pre-GPT Language Models\u003cbr\u003e. . . 3.4 GPT Language Models\u003cbr\u003e. . . . . . 3.4.1 From data to training set\u003cbr\u003e. . . . . . 3.4.2 Limitations and bias\u003cbr\u003e. . . 3.5 Common Crawl\u003cbr\u003e. . . 3.6 WebText data set\u003cbr\u003e. . . . . . 3.6.1 Test set\u003cbr\u003e. . . 3.7 Wikipedia\u003cbr\u003e. . . 3.8 Quality of sources\u003cbr\u003e. . . 3.9 Google\u003cbr\u003e4 GPT-3\u003cbr\u003e. . . 4.1 Tokens\u003cbr\u003e. . . 4.2 Parameters\u003cbr\u003e. . . 4.3 GPT-3 and ChatGPT\u003cbr\u003e. . . . . . 4.3.1 GPT-3.5\u003cbr\u003e5 GPT-4\u003cbr\u003e6 ChatGPT\u003cbr\u003e7 Using GPT and ChatGPT in OpenAI\u003cbr\u003e7.2 ChatGPT playground\u003cbr\u003e7.3 Programmatic use of OpenAI\u003cbr\u003e. . . 7.3.1 Import the openai library\u003cbr\u003e. . . 7.3.2 An example chat API call\u003cbr\u003e8 Prompt engineering\u003cbr\u003e. . . 8.1 Misunderstanding in human communication\u003cbr\u003e. . . 8.2 Misunderstanding in ChatGPT\u003cbr\u003e. . . 8.3 Model capabilities depend on context\u003cbr\u003e. . . 8.4 How to perfect your prompt\u003cbr\u003e. . . . . . 8.4.1 Provide quality data\u003cbr\u003e. . . . . . 8.4.2 Check your settings\u003cbr\u003e. . . . . . 8.4.3 Use plain language to describe your inputs and outputs\u003cbr\u003e. . . . . . 8.4.4 Show the API how to respond to any case (classify)\u003cbr\u003e. . . . . . 8.4.5 Add context\u003cbr\u003e. . . . . . 8.4.6 Include helpful information up-front\u003cbr\u003e. . . . . . 8.4.7 Give examples\u003cbr\u003e. . . . . . 8.4.8 Length of response\u003cbr\u003e. . . . . . 8.4.9 Define a role\u003cbr\u003e. . . . . . 8.4.10 Be more specific\u003cbr\u003e. . . . . . 8.4.11 Divide a complex task into simpler tasks\u003cbr\u003e. . . . . . 8.4.12 Prompt the model to explain before answering\u003cbr\u003e. . . . . . 8.4.13 Ask for explanations before the answer\u003cbr\u003e. . . . . . 8.4.14 Fine-tune\u003cbr\u003e. . . 8.5 Additional techniques\u003cbr\u003e. . . . . . 8.5.1 Selection-inference prompting\u003cbr\u003e. . . . . . 8.5.2 Faithful reasoning architecture\u003cbr\u003e. . . . . . 8.5.3 Least-to-most prompting\u003cbr\u003e. . . 8.6 Related ideas\u003cbr\u003e. . . . . . 8.6.1 Maieutic prompting\u003cbr\u003e. . . 8.7 Extensions\u003cbr\u003e. . . . . . 8.7.1 Self-consistency\u003cbr\u003e. . . . . . 8.7.2 Verifiers\u003cbr\u003e. . . 8.8 Theories of reliability\u003cbr\u003e. . . . . . 8.8.1 Probabilistic graphical models\u003cbr\u003e9 Act-as prompts\u003cbr\u003e10 Prompt templates\u003cbr\u003e11 Template libraries\u003cbr\u003e12 Prompt generators\u003cbr\u003e13 GPTAnalytica PromptBuilder\u003cbr\u003e. . . 13.1 Obtain your OpenAI API key\u003cbr\u003e. . . 13.2 Register at GPTAnalytica\u003cbr\u003e. . . 13.3 Launch the tool\u003cbr\u003e. . . 13.4 Build your prompt\u003cbr\u003e. . . . . . 13.4.1 Select a role\u003cbr\u003e. . . . . . 13.4.2 Select an action\u003cbr\u003e. . . . . . 13.4.3 Select an output\u003cbr\u003e. . . . . . 13.4.4 Select an input\u003cbr\u003e. . . . . . 13.4.5 Write your input text\u003cbr\u003e. . . . . . 13.4.6 Add above information\u003cbr\u003e. . . . . . 13.4.7 Step-by-step\u003cbr\u003e. . . 13.5 Refining PromptBuilder\u003cbr\u003e. . . . . . 13.5.1 Comparing prompts in PromptBuilder\u003cbr\u003e. . . . . . 13.5.2 Comparing prompts in OpenAI playground\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Mark Huck\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Independently Published\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 03\/12\/2023\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 164\u003cbr\u003e\u003cb\u003eBinding Type:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.50lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.00h x 6.00w x 0.35d\u003cbr\u003e\u003cb\u003eISBN:\u003c\/b\u003e 9798386780357\u003cp\u003e\u003ci\u003eThis title is not returnable\u003c\/i\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Independently Published","offers":[{"title":"Paperback","offer_id":40852991508595,"sku":"9.79839E+12","price":23.98,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0555\/9255\/0515\/products\/img_efc932c2-6720-49c7-a400-7c8e1ef6f7c3.jpg?v=1686749378","url":"https:\/\/bookstorenmore.com\/products\/perfecting-prompts-for-gpt-14-steps-for-harnessing-the-power-of-questions-9798386780357","provider":"Bookstore N More","version":"1.0","type":"link"}