@promptbook/types 0.75.9 → 0.76.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
@@ -116,7 +116,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
116
116
  <tr>
117
117
  <td>Core</td>
118
118
  <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>
119
- <td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
119
+ <td rowspan=2>https://github.com/webgptorg/book</td>
120
120
  </tr>
121
121
  <tr>
122
122
  <td>Book language</td>
@@ -127,7 +127,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
127
127
  <tr>
128
128
  <td>Promptbook typescript project</td>
129
129
  <td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
130
- <td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
130
+ <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>
131
131
  </tr>
132
132
  <tr>
133
133
  <td>Promptbook studio</td>
@@ -147,6 +147,12 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
147
147
  </tbody>
148
148
  </table>
149
149
 
150
+ Also we have a community of developers and users:
151
+
152
+ - [Discord](https://discord.gg/x3QWNaa89N)
153
+ - [Landing page](https://ptbk.io)
154
+ - [Github discussions](https://github.com/webgptorg/promptbook/discussions)
155
+
150
156
 
151
157
 
152
158
  ## 💙 Book language _(for prompt-engineer)_
@@ -255,6 +261,8 @@ Or you can install them separately:
255
261
  - **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
256
262
  - **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
257
263
  - **[@promptbook/anthropic-claude](https://www.npmjs.com/package/@promptbook/anthropic-claude)** - Execution tools for Anthropic Claude API, wrapper around Anthropic Claude SDK
264
+ - **[@promptbook/vercel](https://www.npmjs.com/package/@promptbook/vercel)** - Adapter for Vercel functionalities
265
+ - **[@promptbook/gemini](https://www.npmjs.com/package/@promptbook/gemini)** - Integration with Google's Gemini API
258
266
  - **[@promptbook/azure-openai](https://www.npmjs.com/package/@promptbook/azure-openai)** - Execution tools for Azure OpenAI API
259
267
  - **[@promptbook/langtail](https://www.npmjs.com/package/@promptbook/langtail)** - Execution tools for Langtail API, wrapper around Langtail SDK
260
268
  - **[@promptbook/fake-llm](https://www.npmjs.com/package/@promptbook/fake-llm)** - Mocked execution tools for testing the library and saving the tokens
@@ -274,11 +282,6 @@ Or you can install them separately:
274
282
 
275
283
  ## 📚 Dictionary
276
284
 
277
-
278
-
279
-
280
-
281
-
282
285
  ### 📚 Dictionary
283
286
 
284
287
  The following glossary is used to clarify certain concepts:
@@ -294,8 +297,6 @@ The following glossary is used to clarify certain concepts:
294
297
  - **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.
295
298
  - **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.
296
299
 
297
-
298
-
299
300
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
300
301
 
301
302
  #### Promptbook core
@@ -356,8 +357,6 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
356
357
  - [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
357
358
  - [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
358
359
 
359
-
360
-
361
360
  ### Terms specific to Promptbook TypeScript implementation
362
361
 
363
362
  - Anonymous mode
@@ -0,0 +1,2 @@
1
+ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
2
+ export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
@@ -8,6 +8,7 @@ import type { string_markdown } from '../types/typeAliases';
8
8
  import type { string_markdown_section } from '../types/typeAliases';
9
9
  import type { string_markdown_section_content } from '../types/typeAliases';
10
10
  import type { string_markdown_text } from '../types/typeAliases';
11
+ import type { string_markdown_codeblock_language } from '../types/typeAliases';
11
12
  import { addAutoGeneratedSection } from '../utils/markdown/addAutoGeneratedSection';
12
13
  import { createMarkdownChart } from '../utils/markdown/createMarkdownChart';
13
14
  import { createMarkdownTable } from '../utils/markdown/createMarkdownTable';
@@ -31,6 +32,7 @@ export type { string_markdown };
31
32
  export type { string_markdown_section };
32
33
  export type { string_markdown_section_content };
33
34
  export type { string_markdown_text };
35
+ export type { string_markdown_codeblock_language };
34
36
  export { addAutoGeneratedSection };
35
37
  export { createMarkdownChart };
36
38
  export { createMarkdownTable };
@@ -150,6 +150,7 @@ import type { string_markdown } from '../types/typeAliases';
150
150
  import type { string_markdown_section } from '../types/typeAliases';
151
151
  import type { string_markdown_section_content } from '../types/typeAliases';
152
152
  import type { string_markdown_text } from '../types/typeAliases';
153
+ import type { string_markdown_codeblock_language } from '../types/typeAliases';
153
154
  import type { string_promptbook_documentation_url } from '../types/typeAliases';
154
155
  import type { string_domain } from '../types/typeAliases';
155
156
  import type { string_tdl } from '../types/typeAliases';
@@ -403,6 +404,7 @@ export type { string_markdown };
403
404
  export type { string_markdown_section };
404
405
  export type { string_markdown_section_content };
405
406
  export type { string_markdown_text };
407
+ export type { string_markdown_codeblock_language };
406
408
  export type { string_promptbook_documentation_url };
407
409
  export type { string_domain };
408
410
  export type { string_tdl };
@@ -0,0 +1,2 @@
1
+ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
2
+ export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
@@ -74,6 +74,7 @@ export declare const FORMFACTOR_DEFINITIONS: readonly [{
74
74
  };
75
75
  }, {
76
76
  readonly name: "SHEETS";
77
+ readonly aliasNames: readonly ["SHEETS", "SHEET"];
77
78
  readonly description: "@@@";
78
79
  readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/176";
79
80
  readonly pipelineInterface: {
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export declare const SheetsFormfactorDefinition: {
7
7
  readonly name: "SHEETS";
8
+ readonly aliasNames: readonly ["SHEETS", "SHEET"];
8
9
  readonly description: "@@@";
9
10
  readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/176";
10
11
  readonly pipelineInterface: {
@@ -208,6 +208,16 @@ export type string_markdown_section_content = string;
208
208
  * @public exported from `@promptbook/markdown-utils`
209
209
  */
210
210
  export type string_markdown_text = string;
211
+ /**
212
+ * Semantic helper
213
+ *
214
+ * Markdown code block language
215
+ *
216
+ * For example ```js -> `"js"`
217
+ *
218
+ * @public exported from `@promptbook/markdown-utils`
219
+ */
220
+ export type string_markdown_codeblock_language = 'book' | 'markdown' | 'text' | 'javascript' | 'css' | 'json';
211
221
  /**
212
222
  * @@@
213
223
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.75.9",
3
+ "version": "0.76.0",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "--note-0": " <- [🐊]",
6
6
  "private": false,
@@ -52,6 +52,6 @@
52
52
  ],
53
53
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
54
54
  "peerDependencies": {
55
- "@promptbook/core": "0.75.9"
55
+ "@promptbook/core": "0.76.0"
56
56
  }
57
57
  }