@promptbook/remote-server 0.81.0-17 → 0.81.0-18

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/esm/index.es.js CHANGED
@@ -17,7 +17,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
17
17
  * @generated
18
18
  * @see https://github.com/webgptorg/promptbook
19
19
  */
20
- var PROMPTBOOK_ENGINE_VERSION = '0.81.0-16';
20
+ var PROMPTBOOK_ENGINE_VERSION = '0.81.0-17';
21
21
  /**
22
22
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
23
23
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -93,6 +93,8 @@ import { MultipleLlmExecutionTools } from '../llm-providers/multiple/MultipleLlm
93
93
  import { _OpenAiMetadataRegistration } from '../llm-providers/openai/register-configuration';
94
94
  import { _OpenAiAssistantMetadataRegistration } from '../llm-providers/openai/register-configuration';
95
95
  import { preparePersona } from '../personas/preparePersona';
96
+ import { book } from '../pipeline/book-notation';
97
+ import { isValidPipelineString } from '../pipeline/isValidPipelineString';
96
98
  import { GENERIC_PIPELINE_INTERFACE } from '../pipeline/PipelineInterface/constants';
97
99
  import { getPipelineInterface } from '../pipeline/PipelineInterface/getPipelineInterface';
98
100
  import { isPipelineImplementingInterface } from '../pipeline/PipelineInterface/isPipelineImplementingInterface';
@@ -213,6 +215,8 @@ export { MultipleLlmExecutionTools };
213
215
  export { _OpenAiMetadataRegistration };
214
216
  export { _OpenAiAssistantMetadataRegistration };
215
217
  export { preparePersona };
218
+ export { book };
219
+ export { isValidPipelineString };
216
220
  export { GENERIC_PIPELINE_INTERFACE };
217
221
  export { getPipelineInterface };
218
222
  export { isPipelineImplementingInterface };
@@ -0,0 +1,15 @@
1
+ import type { PipelineString } from './PipelineString';
2
+ /**
3
+ * Function for notating a pipeline with a book\`...\ notation as template literal
4
+ *
5
+ * @param strings @@@
6
+ * @param values @@@
7
+ * @returns the pipeline string
8
+ * @public exported from `@promptbook/core`
9
+ */
10
+ export declare function book(strings: TemplateStringsArray, ...values: Array<string>): PipelineString;
11
+ /**
12
+ * TODO: !!!!!! Use book\`...\ notation instead of as PipelineString
13
+ * TODO: [🧠][🈴] Where is the best location for this file
14
+ * Note: [💞] Ignore a discrepancy between file name and entity name
15
+ */
@@ -0,0 +1,11 @@
1
+ import type { PipelineString } from './PipelineString';
2
+ /**
3
+ * Function `isValidPipelineString` will validate the if the string is a valid pipeline string
4
+ * It does not check if the string is fully logically correct, but if it is a string that can be a pipeline string or the string looks completely different.
5
+ *
6
+ * @public exported from `@promptbook/core`
7
+ */
8
+ export declare function isValidPipelineString(value: string): value is PipelineString;
9
+ /**
10
+ * TODO: [🧠][🈴] Where is the best location for this file
11
+ */
@@ -0,0 +1,4 @@
1
+ export {};
2
+ /**
3
+ * TODO: [🧠][🈴] Where is the best location for this file
4
+ */
@@ -12,7 +12,9 @@ export declare const createWebsiteScraper: ((tools: Pick<ExecutionTools, 'llm'>,
12
12
  className: string;
13
13
  mimeTypes: string[];
14
14
  documentationUrl: "https://github.com/webgptorg/promptbook/discussions/@@";
15
- isAvilableInBrowser: false;
15
+ isAvilableInBrowser: true; /**
16
+ * TODO: [🎶] Naming "constructor" vs "creator" vs "factory"
17
+ */
16
18
  requiredExecutables: never[];
17
19
  }>;
18
20
  /**
@@ -10,7 +10,7 @@ export declare const websiteScraperMetadata: import("type-fest/source/readonly-d
10
10
  className: string;
11
11
  mimeTypes: string[];
12
12
  documentationUrl: "https://github.com/webgptorg/promptbook/discussions/@@";
13
- isAvilableInBrowser: false;
13
+ isAvilableInBrowser: true;
14
14
  requiredExecutables: never[];
15
15
  }>;
16
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.81.0-17",
3
+ "version": "0.81.0-18",
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,
@@ -54,7 +54,7 @@
54
54
  "module": "./esm/index.es.js",
55
55
  "typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
56
56
  "peerDependencies": {
57
- "@promptbook/core": "0.81.0-17"
57
+ "@promptbook/core": "0.81.0-18"
58
58
  },
59
59
  "dependencies": {
60
60
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * @generated
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- var PROMPTBOOK_ENGINE_VERSION = '0.81.0-16';
27
+ var PROMPTBOOK_ENGINE_VERSION = '0.81.0-17';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  * Note: [💞] Ignore a discrepancy between file name and entity name