@promptbook/cli 0.94.0-13 → 0.94.0-15
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 +1 -10
- package/esm/index.es.js +3 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +3 -2
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -114,8 +114,6 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
114
114
|
|
|
115
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**!
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
119
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!
|
|
120
118
|
|
|
121
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.
|
|
@@ -228,7 +226,7 @@ Join our growing community of developers and users:
|
|
|
228
226
|
<td><a href="https://www.instagram.com/promptbook.studio/">📸 Instagram @promptbook.studio</a></td>
|
|
229
227
|
<td>Visual updates, UI showcases, and design inspiration</td>
|
|
230
228
|
</tr>
|
|
231
|
-
|
|
229
|
+
|
|
232
230
|
</tbody>
|
|
233
231
|
</table>
|
|
234
232
|
|
|
@@ -241,9 +239,6 @@ Join our growing community of developers and users:
|
|
|
241
239
|
|
|
242
240
|
_A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
243
241
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
242
|
### Introduction
|
|
248
243
|
|
|
249
244
|
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.
|
|
@@ -293,8 +288,6 @@ Personas can have access to different knowledge, tools and actions. They can als
|
|
|
293
288
|
|
|
294
289
|
- [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
|
|
295
290
|
|
|
296
|
-
|
|
297
|
-
|
|
298
291
|
### **3. How:** Knowledge, Instruments and Actions
|
|
299
292
|
|
|
300
293
|
The resources used by the personas are used to do the work.
|
|
@@ -394,8 +387,6 @@ The following glossary is used to clarify certain concepts:
|
|
|
394
387
|
|
|
395
388
|
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
396
389
|
|
|
397
|
-
|
|
398
|
-
|
|
399
390
|
### 💯 Core concepts
|
|
400
391
|
|
|
401
392
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
package/esm/index.es.js
CHANGED
|
@@ -47,7 +47,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
47
47
|
* @generated
|
|
48
48
|
* @see https://github.com/webgptorg/promptbook
|
|
49
49
|
*/
|
|
50
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-
|
|
50
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-15';
|
|
51
51
|
/**
|
|
52
52
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
53
53
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -17251,6 +17251,7 @@ class OpenAiCompatibleExecutionTools {
|
|
|
17251
17251
|
const openAiOptions = { ...this.options };
|
|
17252
17252
|
delete openAiOptions.isVerbose;
|
|
17253
17253
|
delete openAiOptions.userId;
|
|
17254
|
+
console.log('!!! new OpenAI', { openAiOptions });
|
|
17254
17255
|
this.client = new OpenAI(openAiOptions);
|
|
17255
17256
|
}
|
|
17256
17257
|
return this.client;
|
|
@@ -17793,7 +17794,7 @@ class OllamaExecutionTools extends OpenAiCompatibleExecutionTools {
|
|
|
17793
17794
|
const openAiCompatibleOptions = {
|
|
17794
17795
|
baseURL: DEFAULT_OLLAMA_BASE_URL,
|
|
17795
17796
|
...ollamaOptions,
|
|
17796
|
-
|
|
17797
|
+
apiKey: 'ollama',
|
|
17797
17798
|
};
|
|
17798
17799
|
super(openAiCompatibleOptions);
|
|
17799
17800
|
}
|