@promptbook/types 0.59.0-27 → 0.59.0-29
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 +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +1 -2
- package/esm/typings/src/library/constructors/createLibraryFromJson.d.ts +2 -2
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/typings/src/_packages/types.index.d.ts +1 -2
- package/umd/typings/src/library/constructors/createLibraryFromJson.d.ts +2 -2
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-
|
|
14
|
+
var PROMPTBOOK_VERSION = '0.59.0-28';
|
|
15
15
|
|
|
16
16
|
export { EXPECTATION_UNITS, PROMPTBOOK_VERSION };
|
|
17
17
|
//# sourceMappingURL=index.es.js.map
|
|
@@ -6,7 +6,6 @@ import type { PromptbookExecutor } from '../execution/PromptbookExecutor';
|
|
|
6
6
|
import type { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
|
|
7
7
|
import type { UserInterfaceTools, UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
|
|
8
8
|
import type { PromptbookLibrary } from '../library/PromptbookLibrary';
|
|
9
|
-
import type { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
|
|
10
9
|
import type { ExecutionType } from '../types/ExecutionTypes';
|
|
11
10
|
import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
|
|
12
11
|
import type { Parameters } from '../types/Parameters';
|
|
@@ -27,7 +26,7 @@ import type { FromtoItems } from '../utils/FromtoItems';
|
|
|
27
26
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
28
27
|
export { PROMPTBOOK_VERSION };
|
|
29
28
|
export { EXPECTATION_UNITS };
|
|
30
|
-
export type { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, Expectations, ExpectationUnit, FromtoItems, KnowledgeJson, LlmExecutionTools, LlmTemplateJson, MaterialKnowledgePieceJson, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptDialogJson, PromptResult, PromptResultUsage, PromptResultUsageCounts, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptJson, ScriptLanguage,
|
|
29
|
+
export type { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, Expectations, ExpectationUnit, FromtoItems, KnowledgeJson, LlmExecutionTools, LlmTemplateJson, MaterialKnowledgePieceJson, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptDialogJson, PromptResult, PromptResultUsage, PromptResultUsageCounts, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptJson, ScriptLanguage, SimpleTemplateJson, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UncertainNumber, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, };
|
|
31
30
|
/**
|
|
32
31
|
* TODO: Delete type aliases (from ../types/typeAliases) that are not exported here
|
|
33
32
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PromptbookJson } from '../../types/PromptbookJson/PromptbookJson';
|
|
2
|
-
import {
|
|
2
|
+
import type { PromptbookLibrary } from '../PromptbookLibrary';
|
|
3
3
|
/**
|
|
4
4
|
* Creates PromptbookLibrary from array of PromptbookJson or PromptbookString
|
|
5
5
|
*
|
|
@@ -9,4 +9,4 @@ import { SimplePromptbookLibrary } from '../SimplePromptbookLibrary';
|
|
|
9
9
|
* @param promptbookSources
|
|
10
10
|
* @returns PromptbookLibrary
|
|
11
11
|
*/
|
|
12
|
-
export declare function createLibraryFromJson(...promptbooks: Array<PromptbookJson>):
|
|
12
|
+
export declare function createLibraryFromJson(...promptbooks: Array<PromptbookJson>): PromptbookLibrary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.59.0-
|
|
3
|
+
"version": "0.59.0-29",
|
|
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-
|
|
48
|
+
"@promptbook/core": "0.59.0-29"
|
|
49
49
|
},
|
|
50
50
|
"main": "./umd/index.umd.js",
|
|
51
51
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -6,7 +6,6 @@ import type { PromptbookExecutor } from '../execution/PromptbookExecutor';
|
|
|
6
6
|
import type { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
|
|
7
7
|
import type { UserInterfaceTools, UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
|
|
8
8
|
import type { PromptbookLibrary } from '../library/PromptbookLibrary';
|
|
9
|
-
import type { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
|
|
10
9
|
import type { ExecutionType } from '../types/ExecutionTypes';
|
|
11
10
|
import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
|
|
12
11
|
import type { Parameters } from '../types/Parameters';
|
|
@@ -27,7 +26,7 @@ import type { FromtoItems } from '../utils/FromtoItems';
|
|
|
27
26
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
28
27
|
export { PROMPTBOOK_VERSION };
|
|
29
28
|
export { EXPECTATION_UNITS };
|
|
30
|
-
export type { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, Expectations, ExpectationUnit, FromtoItems, KnowledgeJson, LlmExecutionTools, LlmTemplateJson, MaterialKnowledgePieceJson, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptDialogJson, PromptResult, PromptResultUsage, PromptResultUsageCounts, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptJson, ScriptLanguage,
|
|
29
|
+
export type { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, ExpectationAmount, Expectations, ExpectationUnit, FromtoItems, KnowledgeJson, LlmExecutionTools, LlmTemplateJson, MaterialKnowledgePieceJson, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptDialogJson, PromptResult, PromptResultUsage, PromptResultUsageCounts, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptJson, ScriptLanguage, SimpleTemplateJson, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UncertainNumber, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, };
|
|
31
30
|
/**
|
|
32
31
|
* TODO: Delete type aliases (from ../types/typeAliases) that are not exported here
|
|
33
32
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PromptbookJson } from '../../types/PromptbookJson/PromptbookJson';
|
|
2
|
-
import {
|
|
2
|
+
import type { PromptbookLibrary } from '../PromptbookLibrary';
|
|
3
3
|
/**
|
|
4
4
|
* Creates PromptbookLibrary from array of PromptbookJson or PromptbookString
|
|
5
5
|
*
|
|
@@ -9,4 +9,4 @@ import { SimplePromptbookLibrary } from '../SimplePromptbookLibrary';
|
|
|
9
9
|
* @param promptbookSources
|
|
10
10
|
* @returns PromptbookLibrary
|
|
11
11
|
*/
|
|
12
|
-
export declare function createLibraryFromJson(...promptbooks: Array<PromptbookJson>):
|
|
12
|
+
export declare function createLibraryFromJson(...promptbooks: Array<PromptbookJson>): PromptbookLibrary;
|