@promptbook/types 0.84.0-16 β†’ 0.84.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/README.md CHANGED
@@ -16,7 +16,8 @@
16
16
 
17
17
  ## 🌟 New Features
18
18
 
19
- - πŸ‹ **Support of [DeepSeek models](https://www.deepseek.com/)**
19
+ - πŸ’« Support of [`o3-mini` model by OpenAI](https://openai.com/index/openai-o3-mini/)
20
+ - πŸ‹ **Support of [DeepSeek models](https://www.npmjs.com/package/@promptbook/deepseek)**
20
21
  - πŸ’™ Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
21
22
  - πŸ–€ Run books from CLI - `npx ptbk run path/to/your/book`
22
23
  - πŸ“š Support of `.docx`, `.doc` and `.pdf` documents as knowledge
@@ -460,6 +461,10 @@ See [TODO.md](./TODO.md)
460
461
 
461
462
 
462
463
 
464
+ ## 🀝 Partners
465
+
466
+ [![Technology Incubation](./other/partners/CI-Technology-Incubation.png)](https://technologickainkubace.org/en/about-technology-incubation/about-the-project/)
467
+
463
468
  ## πŸ–‹οΈ Contributing
464
469
 
465
470
  I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can [β˜• buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md).
@@ -14,6 +14,7 @@ import { DEFAULT_BOOK_TITLE } from '../config';
14
14
  import { DEFAULT_TASK_TITLE } from '../config';
15
15
  import { DEFAULT_PROMPT_TASK_TITLE } from '../config';
16
16
  import { DEFAULT_BOOK_OUTPUT_PARAMETER_NAME } from '../config';
17
+ import { DEFAULT_MAX_FILE_SIZE } from '../config';
17
18
  import { MAX_FILENAME_LENGTH } from '../config';
18
19
  import { DEFAULT_INTERMEDIATE_FILES_STRATEGY } from '../config';
19
20
  import { DEFAULT_MAX_PARALLEL_COUNT } from '../config';
@@ -144,6 +145,7 @@ export { DEFAULT_BOOK_TITLE };
144
145
  export { DEFAULT_TASK_TITLE };
145
146
  export { DEFAULT_PROMPT_TASK_TITLE };
146
147
  export { DEFAULT_BOOK_OUTPUT_PARAMETER_NAME };
148
+ export { DEFAULT_MAX_FILE_SIZE };
147
149
  export { MAX_FILENAME_LENGTH };
148
150
  export { DEFAULT_INTERMEDIATE_FILES_STRATEGY };
149
151
  export { DEFAULT_MAX_PARALLEL_COUNT };
@@ -77,6 +77,12 @@ export declare const DEFAULT_PROMPT_TASK_TITLE = "Prompt";
77
77
  * @public exported from `@promptbook/core`
78
78
  */
79
79
  export declare const DEFAULT_BOOK_OUTPUT_PARAMETER_NAME = "result";
80
+ /**
81
+ * Maximum file size limit
82
+ *
83
+ * @public exported from `@promptbook/core`
84
+ */
85
+ export declare const DEFAULT_MAX_FILE_SIZE: number;
80
86
  /**
81
87
  * Warning message for the generated sections and files files
82
88
  *
@@ -17,5 +17,5 @@ import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOpt
17
17
  */
18
18
  export declare function compilePipelineOnRemoteServer<TCustomOptions = undefined>(pipelineString: PipelineString, options: RemoteClientOptions<TCustomOptions>): Promise<PipelineJson>;
19
19
  /**
20
- * TODO: !!!! Do not return Promise<PipelineJson> But PreparePipelineTask
20
+ * TODO: [🐚] Do not return Promise<PipelineJson> But PreparePipelineTask
21
21
  */
@@ -13,5 +13,5 @@ import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOpt
13
13
  */
14
14
  export declare function preparePipelineOnRemoteServer<TCustomOptions = undefined>(pipeline: PipelineJson, options: RemoteClientOptions<TCustomOptions>): Promise<PipelineJson>;
15
15
  /**
16
- * TODO: !!!! Do not return Promise<PipelineJson> But PreparePipelineTask
16
+ * TODO: [🐚] Do not return Promise<PipelineJson> But PreparePipelineTask
17
17
  */
@@ -9,7 +9,7 @@ import type { ApplicationRemoteServerClientOptions } from '../../types/RemoteSer
9
9
  */
10
10
  export type PromptbookServer_Identification<TCustomOptions> = PromptbookServer_ApplicationIdentification<TCustomOptions> | PromptbookServer_AnonymousIdentification;
11
11
  /**
12
- * Application mode is @@@!!!
12
+ * Application mode is situation when you run known and well-defined books with your own api keys
13
13
  *
14
14
  * @public exported from `@promptbook/remote-server`
15
15
  * @public exported from `@promptbook/remote-client`
@@ -21,7 +21,10 @@ export type PromptbookServer_ApplicationIdentification<TCustomOptions> = Applica
21
21
  readonly isAnonymous: false;
22
22
  };
23
23
  /**
24
- * Anonymous mode is @@@!!!
24
+ * Anonymous mode is when you run arbitrary user books without api keys from user
25
+ *
26
+ * Note: This is useful in situations when the LLM provider does not allow to call the API requests from the client side
27
+ * It is kind of a proxy mode
25
28
  *
26
29
  * @public exported from `@promptbook/remote-server`
27
30
  * @public exported from `@promptbook/remote-client`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.84.0-16",
3
+ "version": "0.84.0-18",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -8,8 +8,10 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/webgptorg/promptbook"
10
10
  },
11
+ "author": "Pavol HejnΓ½ <pavol@ptbk.io> (https://www.pavolhejny.com/)",
11
12
  "contributors": [
12
- "Pavol HejnΓ½ <pavol@ptbk.io> (https://www.pavolhejny.com/)"
13
+ "Pavol HejnΓ½ <pavol@ptbk.io> (https://www.pavolhejny.com/)",
14
+ "JiΕ™Γ­ Jahn <jiri@ptbk.io> (https://www.ptbk.io/)"
13
15
  ],
14
16
  "keywords": [
15
17
  "ai",
@@ -23,6 +25,9 @@
23
25
  "natural-language-processing",
24
26
  "nlp",
25
27
  "openai",
28
+ "o3",
29
+ "o3-mini",
30
+ "deepseek",
26
31
  "gpt-3",
27
32
  "gpt-4",
28
33
  "gpt-4o",
@@ -33,13 +38,13 @@
33
38
  "anthropic",
34
39
  "LLMOps"
35
40
  ],
36
- "license": "FSL-1.1-Apache-2.0",
41
+ "license": "UNLICENSED",
37
42
  "bugs": {
38
43
  "url": "https://github.com/webgptorg/promptbook/issues"
39
44
  },
40
45
  "homepage": "https://www.npmjs.com/package/@promptbook/core",
41
46
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
42
47
  "peerDependencies": {
43
- "@promptbook/core": "0.84.0-16"
48
+ "@promptbook/core": "0.84.0-18"
44
49
  }
45
50
  }
package/LICENSE.md DELETED
@@ -1 +0,0 @@
1
- [Functional Source License, Version 1.1, ALv2 Future License](https://github.com/getsentry/fsl.software/blob/main/FSL-1.1-ALv2.template.md)