@promptbook/remote-server 0.73.0 → 0.74.0-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 CHANGED
@@ -24,6 +24,10 @@ Build responsible, controlled and transparent applications on top of LLM models!
24
24
 
25
25
 
26
26
 
27
+ <blockquote style="color: #ff8811">
28
+ <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>.
29
+ </blockquote>
30
+
27
31
  ## 📦 Package `@promptbook/remote-server`
28
32
 
29
33
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -48,6 +52,8 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
48
52
 
49
53
  ## 🤍 The Promptbook Whitepaper
50
54
 
55
+
56
+
51
57
  If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 3, or whatever, it doesn't matter how you integrate it. Whether it's calling a REST API directly, using the SDK, hardcoding the prompt into the source code, or importing a text file, the process remains the same.
52
58
 
53
59
  But often you will struggle with the **limitations of LLMs**, such as **hallucinations, off-topic responses, poor quality output, language and prompt drift, word repetition repetition repetition repetition or misuse, lack of context, or just plain w𝒆𝐢rd resp0nses**. When this happens, you generally have three options:
@@ -68,6 +74,44 @@ In all of these situations, but especially in 3., the **✨ Promptbook can make
68
74
 
69
75
 
70
76
 
77
+ ## 💜 The Promptbook Project
78
+
79
+
80
+
81
+ <table>
82
+ <tbody>
83
+ <tr>
84
+ <td>Promptbook whitepaper</td>
85
+ <td>Basic motivations and problems which we are trying to solve</td>
86
+ <td rowspan=3>https://github.com/webgptorg/book</td>
87
+ </tr>
88
+ <tr>
89
+ <td>Promptbook <i>(system)</i></td>
90
+ <td>Promptbook ...</td>
91
+ </tr>
92
+ <tr>
93
+ <td>Book language</td>
94
+ <td>
95
+ Book is a markdown-like language to define projects, pipelines, knowledge,... in the Promptbook system. It is designed to be understandable by non-programmers and non-technical people
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td>Promptbook typescript project</td>
100
+ <td>Implementation of Promptbook in TypeScript published into multiple packages to NPM</td>
101
+ <td>https://github.com/webgptorg/promptbook</td>
102
+ </tr>
103
+ <tr>
104
+ <td>Promptbook studio</td>
105
+ <td>Promptbook studio</td>
106
+ <td rowspan=2>https://github.com/hejny/promptbook-studio</td>
107
+ </tr>
108
+ <tr>
109
+ <td>Promptbook miniapps</td>
110
+ <td>Promptbook miniapps</td>
111
+ </tr>
112
+ </tbody>
113
+ </table>
114
+
71
115
  ## 💙 Book language _(for prompt-engineer)_
72
116
 
73
117
  Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) are written in markdown-like language called [Book](https://github.com/webgptorg/book). It is designed to be understandable by non-programmers and non-technical people.
@@ -77,6 +121,17 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
77
121
  ```markdown
78
122
  # 🌟 My first Book
79
123
 
124
+ - INPUT PARAMETER {subject}
125
+ - OUTPUT PARAMETER {article}
126
+
127
+ ## Sample subject
128
+
129
+ > Promptbook
130
+
131
+ -> {subject}
132
+
133
+ ## Write an article
134
+
80
135
  - PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence
81
136
  - KNOWLEDGE https://ptbk.io
82
137
  - KNOWLEDGE ./promptbook.pdf
@@ -84,7 +139,7 @@ Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) a
84
139
  - EXPECT MAX 1 Paragraph
85
140
 
86
141
  > 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.
87
- > Look specifically at the impact of Promptbook on the AI industry.
142
+ > Look specifically at the impact of {subject} on the AI industry.
88
143
 
89
144
  -> {article}
90
145
  ```
@@ -131,6 +186,10 @@ Or you can install them separately:
131
186
 
132
187
  The following glossary is used to clarify certain concepts:
133
188
 
189
+ ### Basic terms
190
+
191
+
192
+
134
193
  ### Core concepts
135
194
 
136
195
  - [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
package/esm/index.es.js CHANGED
@@ -7,7 +7,7 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';
7
7
  /**
8
8
  * The version of the Promptbook library
9
9
  */
10
- var PROMPTBOOK_VERSION = '0.72.0';
10
+ var PROMPTBOOK_VERSION = '0.73.0';
11
11
  // TODO: [main] !!!! List here all the versions and annotate + put into script
12
12
 
13
13
  /*! *****************************************************************************
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.73.0",
3
+ "version": "0.74.0-0",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -53,7 +53,7 @@
53
53
  "module": "./esm/index.es.js",
54
54
  "typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
55
55
  "peerDependencies": {
56
- "@promptbook/core": "0.73.0"
56
+ "@promptbook/core": "0.74.0-0"
57
57
  },
58
58
  "dependencies": {
59
59
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -14,7 +14,7 @@
14
14
  /**
15
15
  * The version of the Promptbook library
16
16
  */
17
- var PROMPTBOOK_VERSION = '0.72.0';
17
+ var PROMPTBOOK_VERSION = '0.73.0';
18
18
  // TODO: [main] !!!! List here all the versions and annotate + put into script
19
19
 
20
20
  /*! *****************************************************************************