@promptbook/types 0.59.0-20 → 0.59.0-21

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
@@ -11,7 +11,7 @@ var EXPECTATION_UNITS = ['CHARACTERS', 'WORDS', 'SENTENCES', 'LINES', 'PARAGRAPH
11
11
  /**
12
12
  * The version of the Promptbook library
13
13
  */
14
- var PROMPTBOOK_VERSION = '0.59.0-22';
14
+ var PROMPTBOOK_VERSION = '0.59.0-20';
15
15
 
16
16
  export { EXPECTATION_UNITS, PROMPTBOOK_VERSION };
17
17
  //# sourceMappingURL=index.es.js.map
@@ -1,7 +1,21 @@
1
1
  import type { LlmExecutionTools } from '../../../execution/LlmExecutionTools';
2
2
  import type { KnowledgeJson } from '../../../types/PromptbookJson/KnowledgeJson';
3
3
  import type { string_markdown } from '../../../types/typeAliases';
4
- export declare function prepareKnowledgeFromMarkdown(options: {
4
+ type PrepareKnowledgeFromMarkdownOptions = {
5
+ /**
6
+ * The source of the knowledge in markdown format
7
+ */
5
8
  content: string_markdown;
9
+ /**
10
+ * The LLM tools to use for the conversion and extraction of knowledge
11
+ */
6
12
  llmTools: LlmExecutionTools;
7
- }): Promise<KnowledgeJson>;
13
+ /**
14
+ * If true, the preaparation of knowledge logs additional information
15
+ *
16
+ * @default false
17
+ */
18
+ isVerbose?: boolean;
19
+ };
20
+ export declare function prepareKnowledgeFromMarkdown(options: PrepareKnowledgeFromMarkdownOptions): Promise<KnowledgeJson>;
21
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.59.0-20",
3
+ "version": "0.59.0-21",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -45,7 +45,7 @@
45
45
  }
46
46
  ],
47
47
  "peerDependencies": {
48
- "@promptbook/core": "0.59.0-20"
48
+ "@promptbook/core": "0.59.0-21"
49
49
  },
50
50
  "main": "./umd/index.umd.js",
51
51
  "module": "./esm/index.es.js",
package/umd/index.umd.js CHANGED
@@ -17,7 +17,7 @@
17
17
  /**
18
18
  * The version of the Promptbook library
19
19
  */
20
- var PROMPTBOOK_VERSION = '0.59.0-22';
20
+ var PROMPTBOOK_VERSION = '0.59.0-20';
21
21
 
22
22
  exports.EXPECTATION_UNITS = EXPECTATION_UNITS;
23
23
  exports.PROMPTBOOK_VERSION = PROMPTBOOK_VERSION;
@@ -1,7 +1,21 @@
1
1
  import type { LlmExecutionTools } from '../../../execution/LlmExecutionTools';
2
2
  import type { KnowledgeJson } from '../../../types/PromptbookJson/KnowledgeJson';
3
3
  import type { string_markdown } from '../../../types/typeAliases';
4
- export declare function prepareKnowledgeFromMarkdown(options: {
4
+ type PrepareKnowledgeFromMarkdownOptions = {
5
+ /**
6
+ * The source of the knowledge in markdown format
7
+ */
5
8
  content: string_markdown;
9
+ /**
10
+ * The LLM tools to use for the conversion and extraction of knowledge
11
+ */
6
12
  llmTools: LlmExecutionTools;
7
- }): Promise<KnowledgeJson>;
13
+ /**
14
+ * If true, the preaparation of knowledge logs additional information
15
+ *
16
+ * @default false
17
+ */
18
+ isVerbose?: boolean;
19
+ };
20
+ export declare function prepareKnowledgeFromMarkdown(options: PrepareKnowledgeFromMarkdownOptions): Promise<KnowledgeJson>;
21
+ export {};