@promptbook/anthropic-claude 0.86.10 → 0.86.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -332,9 +332,7 @@ And **Promptbook.city** branded socials:
332
332
  _/Sub-brand for images and graphics generated via Promptbook prompting/_
333
333
 
334
334
  - [Instagram `@promptbook.city`](https://www.instagram.com/promptbook.city/)
335
- - [Facebook `Promptbook City`](https://www.facebook.com/61565718625569)
336
-
337
- ##
335
+ - [Facebook `Promptbook City`](https://www.facebook.com/61565718625569)
338
336
 
339
337
 
340
338
 
@@ -345,7 +343,9 @@ _/Sub-brand for images and graphics generated via Promptbook prompting/_
345
343
 
346
344
 
347
345
 
348
- Following is the documentation and blueprint of the Book language.
346
+ Following is the documentation and blueprint of the [Book language](https://github.com/webgptorg/book).
347
+
348
+ Book is a language that can be used to write AI applications, agents, workflows, automations, knowledgebases, translators, sheet processors, email automations and more. It allows you to harness the power of AI models in human-like terms, without the need to know the specifics and technicalities of the models.
349
349
 
350
350
  ### Example
351
351
 
@@ -353,35 +353,56 @@ Following is the documentation and blueprint of the Book language.
353
353
  # 🌟 My first Book
354
354
 
355
355
  - BOOK VERSION 1.0.0
356
- - URL https://promptbook.studio/my-first-book/
356
+ - URL https://promptbook.studio/hello.book
357
+ - INPUT PARAMETER {topic}
358
+ - OUTPUT PARAMETER {article}
357
359
 
358
360
  # Write an article
359
361
 
360
362
  - PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence
361
- - KNOWLEDGE https://ptbk.io
362
- - KNOWLEDGE ./promptbook.pdf
363
+ - KNOWLEDGE https://wikipedia.org/
364
+ - KNOWLEDGE ./journalist-ethics.pdf
363
365
  - EXPECT MIN 1 Sentence
364
- - EXPECT MAX 1 Paragraph
366
+ - EXPECT MAX 5 Pages
365
367
 
366
- > Write an article about the future of artificial intelligence in the next 10 years and how metalanguages will change the way AI is used in the world.
367
- > Look specifically at the impact of Promptbook on the AI industry.
368
+ > Write an article about {topic}
368
369
 
369
370
  -> {article}
370
371
  ```
371
372
 
373
+ Each part of the book defines one of 3 circles:
374
+
372
375
  ### **What:** Workflows, Tasks and Parameters
373
376
 
377
+ What work needs to be done. Each book defines a workflow, which is one or more tasks. Each workflow has a fixed input and output. For example, you have a book that generates an article from a topic. Once it generates an article about AI, once about marketing, once about cooking. The workflow (= your AI program) is the same, only the input and output change.
378
+
379
+ **Related commands:**
380
+
374
381
  - [PARAMETER](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PARAMETER.md)
375
382
 
376
383
  ### **Who:** Personas
377
384
 
385
+ Who does the work. Each task is performed by a persona. A persona is a description of your virtual employee. It is a higher abstraction than the model, tokens, temperature, top-k, top-p and other model parameters.
386
+
387
+ You can describe what you want in human language like `Jane, creative writer with a sense of sharp humour` instead of `gpt-4-2024-13-31, temperature 1.2, top-k 40, STOP token ".\n",...`.
388
+
389
+ Personas can have access to different knowledge, tools and actions. They can also consult their work with other personas or user, if allowed.
390
+
391
+ **Related commands:**
392
+
378
393
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
379
394
 
395
+
396
+
380
397
  ### **How:** Knowledge, Instruments and Actions
381
398
 
382
- - [KNOWLEDGE](https://github.com/webgptorg/promptbook/blob/main/documents/commands/KNOWLEDGE.md)
383
- - [INSTRUMENT](https://github.com/webgptorg/promptbook/blob/main/documents/commands/INSTRUMENT.md)
384
- - [ACTION](https://github.com/webgptorg/promptbook/blob/main/documents/commands/ACTION.md)
399
+ The resources used by the personas are used to do the work.
400
+
401
+ **Related commands:**
402
+
403
+ - [KNOWLEDGE](https://github.com/webgptorg/promptbook/blob/main/documents/commands/KNOWLEDGE.md) of documents, websites, and other resources
404
+ - [INSTRUMENT](https://github.com/webgptorg/promptbook/blob/main/documents/commands/INSTRUMENT.md) for real-time data like time, location, weather, stock prices, searching the internet, calculations, etc.
405
+ - [ACTION](https://github.com/webgptorg/promptbook/blob/main/documents/commands/ACTION.md) for actions like sending emails, creating files, ending a workflow, etc.
385
406
 
386
407
  ### General principles of book language
387
408
 
@@ -472,35 +493,7 @@ The following glossary is used to clarify certain concepts:
472
493
 
473
494
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
474
495
 
475
- #### Promptbook core
476
-
477
- - **Organization** _(legacy name collection)_ group jobs, workforce, knowledge, instruments, and actions into one package. Entities in one organization can share resources (= import resources from each other).
478
- - **Jobs**
479
- - **Task**
480
- - **Subtask**
481
- - **Workforce**
482
- - **Persona**
483
- - **Team**
484
- - **Role**
485
- - **Knowledge**
486
- - **Public**
487
- - **Private**
488
- - **Protected**
489
- - **Instruments**
490
- - **Actions**
491
-
492
- #### Book language
493
-
494
- - **Book file**
495
- - **Section**
496
- - **Heading**
497
- - **Description**
498
- - **Command**
499
- - **Block**
500
- - **Return statement**
501
- - **Comment**
502
- - **Import**
503
- - **Scope**
496
+
504
497
 
505
498
  #### 💯 Core concepts
506
499