@promptbook/cli 0.85.0-9 → 0.86.0-10
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 +11 -27
- package/esm/index.es.js +227 -232
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/cli/promptbookCli.d.ts +1 -1
- package/esm/typings/src/collection/collectionToJson.test.d.ts +1 -1
- package/esm/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +3 -3
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +1 -1
- package/esm/typings/src/commands/FORMFACTOR/formfactorCommandParser.d.ts +1 -1
- package/esm/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +1 -1
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +2 -2
- package/esm/typings/src/pipeline/PipelineJson/PipelineJson.d.ts +2 -2
- package/esm/typings/src/types/Prompt.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +2 -2
- package/esm/typings/src/utils/editable/utils/stringifyPipelineJson.d.ts +1 -1
- package/esm/typings/src/wizzard/wizzard.d.ts +6 -6
- package/package.json +2 -2
- package/umd/index.umd.js +226 -231
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
## 🌟 New Features
|
|
18
18
|
|
|
19
|
+
- 📂 We have plugin for [VSCode](https://github.com/webgptorg/book-extension) to support `.book` file extension
|
|
19
20
|
- 💫 Support of [`o3-mini` model by OpenAI](https://openai.com/index/openai-o3-mini/)
|
|
20
21
|
- 🐋 **Support of [DeepSeek models](https://www.npmjs.com/package/@promptbook/deepseek)**
|
|
21
22
|
- 💙 Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
|
|
@@ -70,7 +71,7 @@ import { OpenAiExecutionTools } from '@promptbook/openai';
|
|
|
70
71
|
|
|
71
72
|
// ▶ Get single Pipeline
|
|
72
73
|
const promptbook = await getPipelineCollection().getPipelineByUrl(
|
|
73
|
-
`https://promptbook.studio/my-collection/write-article.book
|
|
74
|
+
`https://promptbook.studio/my-collection/write-article.book`,
|
|
74
75
|
);
|
|
75
76
|
|
|
76
77
|
// ▶ Create executor - the function that will execute the Pipeline
|
|
@@ -94,7 +95,7 @@ There is also a javascript and json format available.
|
|
|
94
95
|
## Prettify
|
|
95
96
|
|
|
96
97
|
```bash
|
|
97
|
-
npx ptbk prettify 'promptbook/**/*.book
|
|
98
|
+
npx ptbk prettify 'promptbook/**/*.book'
|
|
98
99
|
```
|
|
99
100
|
|
|
100
101
|
This will prettify all promptbooks in `promptbook` directory and adds Mermaid graphs to them.
|
|
@@ -113,7 +114,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
113
114
|
|
|
114
115
|
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**!
|
|
115
116
|
|
|
116
|
-
It's a revolution of writing software in plain human language that is understandable and executable by both humans and machines – and it's going to change everything!
|
|
117
|
+
It's a revolution of writing software in **plain human language** that is understandable and executable by both humans and machines – and it's going to change everything!
|
|
117
118
|
|
|
118
119
|
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.
|
|
119
120
|
|
|
@@ -142,41 +143,24 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
142
143
|
<thead>
|
|
143
144
|
<tr>
|
|
144
145
|
<th>Project</th>
|
|
145
|
-
<th>
|
|
146
|
-
<th>Link</th>
|
|
146
|
+
<th>About</th>
|
|
147
147
|
</tr>
|
|
148
148
|
</thead>
|
|
149
149
|
<tbody>
|
|
150
150
|
<tr>
|
|
151
|
-
<td>
|
|
152
|
-
<td>Promptbook Core is a description and documentation of the basic concepts, ideas and inner workings of how Promptbook should be implemented, and defines what features must be describable by book language.</td>
|
|
153
|
-
<td rowspan=2>https://github.com/webgptorg/book</td>
|
|
154
|
-
</tr>
|
|
155
|
-
<tr>
|
|
156
|
-
<td>Book language</td>
|
|
151
|
+
<td><a href="https://github.com/webgptorg/book">Book language</a></td>
|
|
157
152
|
<td>
|
|
158
|
-
Book is a markdown-like language to define core entities like
|
|
153
|
+
Book is a markdown-like language to define core entities like personas, knowledge, tasks,.... It is designed to be understandable by non-programmers and non-technical people<hr>
|
|
154
|
+
There is also <a href="https://github.com/webgptorg/book-extension">a plugin for VSCode</a> to support <code>.book</code> file extension
|
|
159
155
|
</td>
|
|
160
156
|
</tr>
|
|
161
157
|
<tr>
|
|
162
|
-
<td>Promptbook
|
|
163
|
-
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
164
|
-
<td>https://github.com/webgptorg/promptbook + <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">Multiple packages published on NPM</a></td>
|
|
158
|
+
<td><a href="https://github.com/webgptorg/promptbook">Promptbook Engine</a></td>
|
|
159
|
+
<td>Promptbook implementation in TypeScript released as <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">multiple NPM packages</a> and <a href="https://hub.docker.com/r/hejny/promptbook">Docker HUB</a></td>
|
|
165
160
|
</tr>
|
|
166
161
|
<tr>
|
|
167
|
-
<td>Promptbook
|
|
162
|
+
<td><a href="https://promptbook.studio">Promptbook Studio</a></td>
|
|
168
163
|
<td>Studio to write Books and instantly publish them as miniapps</td>
|
|
169
|
-
<td>
|
|
170
|
-
https://promptbook.studio<br/>
|
|
171
|
-
https://github.com/hejny/promptbook-studio</td>
|
|
172
|
-
</tr><tr>
|
|
173
|
-
<td>Hello World</td>
|
|
174
|
-
<td>Simple starter kit with Books integrated into the sample applications</td>
|
|
175
|
-
<td>
|
|
176
|
-
https://github.com/webgptorg/hello-world<br/>
|
|
177
|
-
https://github.com/webgptorg/hello-world-node-js<br/>
|
|
178
|
-
https://github.com/webgptorg/hello-world-next-js
|
|
179
|
-
</td>
|
|
180
164
|
</tr>
|
|
181
165
|
</tbody>
|
|
182
166
|
</table>
|