@promptbook/types 0.94.0-7 → 0.94.0
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 +6 -11
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +25 -2
package/README.md
CHANGED
|
@@ -25,10 +25,6 @@ Write AI applications using plain human language across multiple models and plat
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<blockquote style="color: #ff8811">
|
|
29
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
30
|
-
</blockquote>
|
|
31
|
-
|
|
32
28
|
## 📦 Package `@promptbook/types`
|
|
33
29
|
|
|
34
30
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -81,7 +77,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
81
77
|
|
|
82
78
|
## 🤍 The Book Abstract
|
|
83
79
|
|
|
84
|
-
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
80
|
+
**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
|
|
85
81
|
|
|
86
82
|
During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
|
|
87
83
|
|
|
@@ -91,7 +87,7 @@ It's a revolution of writing software in **plain human language** that is unders
|
|
|
91
87
|
|
|
92
88
|
The incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.
|
|
93
89
|
|
|
94
|
-
This shift
|
|
90
|
+
This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
|
|
95
91
|
|
|
96
92
|
**Join us in this journey!**
|
|
97
93
|
|
|
@@ -214,7 +210,6 @@ _A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
|
214
210
|
|
|
215
211
|
|
|
216
212
|
|
|
217
|
-
|
|
218
213
|
### Introduction
|
|
219
214
|
|
|
220
215
|
Book is a Markdown-based language that simplifies the creation of AI applications, workflows, and automations. With human-readable commands, you can define inputs, outputs, personas, knowledge sources, and actions—without needing model-specific details.
|
|
@@ -242,7 +237,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
|
|
|
242
237
|
→ {article}
|
|
243
238
|
```
|
|
244
239
|
|
|
245
|
-
Each part of the book defines one of
|
|
240
|
+
Each part of the book defines one of three circles:
|
|
246
241
|
|
|
247
242
|
### **1. What:** Workflows, Tasks and Parameters
|
|
248
243
|
|
|
@@ -280,9 +275,9 @@ The resources used by the personas are used to do the work.
|
|
|
280
275
|
|
|
281
276
|
Book language is based on markdown. It is subset of markdown. It is designed to be easy to read and write. It is designed to be understandable by both humans and machines and without specific knowledge of the language.
|
|
282
277
|
|
|
283
|
-
The file has `.book` extension
|
|
278
|
+
The file has a `.book` extension and uses UTF-8 encoding without BOM.
|
|
284
279
|
|
|
285
|
-
|
|
280
|
+
Books have two variants: flat — just a prompt without structure, and full — with tasks, commands, and prompts.
|
|
286
281
|
|
|
287
282
|
As it is source code, it can leverage all the features of version control systems like git and does not suffer from the problems of binary formats, proprietary formats, or no-code solutions.
|
|
288
283
|
|
|
@@ -363,7 +358,7 @@ The following glossary is used to clarify certain concepts:
|
|
|
363
358
|
- **Retrieval-augmented generation** is a machine learning paradigm where a model generates text by retrieving relevant information from a large database of text. This approach combines the benefits of generative models and retrieval models.
|
|
364
359
|
- **Longtail** refers to non-common or rare events, items, or entities that are not well-represented in the training data of machine learning models. Longtail items are often challenging for models to predict accurately.
|
|
365
360
|
|
|
366
|
-
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
361
|
+
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
367
362
|
|
|
368
363
|
|
|
369
364
|
|
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.94.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.94.0-16`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.94.0
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -36,6 +36,29 @@
|
|
|
36
36
|
"o1-mini",
|
|
37
37
|
"o1-preview",
|
|
38
38
|
"anthropic",
|
|
39
|
+
"claude",
|
|
40
|
+
"claude-3",
|
|
41
|
+
"claude-3-opus",
|
|
42
|
+
"claude-3-sonnet",
|
|
43
|
+
"claude-3-haiku",
|
|
44
|
+
"gemini",
|
|
45
|
+
"gemini-pro",
|
|
46
|
+
"gemini-flash",
|
|
47
|
+
"mixtral",
|
|
48
|
+
"mistral",
|
|
49
|
+
"ollama",
|
|
50
|
+
"ai-orchestration",
|
|
51
|
+
"prompt-engineering",
|
|
52
|
+
"llmops",
|
|
53
|
+
"multimodal",
|
|
54
|
+
"reasoning",
|
|
55
|
+
"rag",
|
|
56
|
+
"embeddings",
|
|
57
|
+
"function-calling",
|
|
58
|
+
"large-language-models",
|
|
59
|
+
"ai-application-framework",
|
|
60
|
+
"text-generation",
|
|
61
|
+
"ai-agents",
|
|
39
62
|
"LLMOps"
|
|
40
63
|
],
|
|
41
64
|
"license": "BUSL-1.1",
|
|
@@ -61,6 +84,6 @@
|
|
|
61
84
|
},
|
|
62
85
|
"typings": "./esm/typings/src/_packages/types.index.d.ts",
|
|
63
86
|
"peerDependencies": {
|
|
64
|
-
"@promptbook/core": "0.94.0
|
|
87
|
+
"@promptbook/core": "0.94.0"
|
|
65
88
|
}
|
|
66
89
|
}
|