@promptbook/remote-client 0.92.0-27 → 0.92.0-28
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 +9 -10
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +4 -4
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +0 -2
- package/esm/typings/src/constants.d.ts +35 -0
- package/esm/typings/src/executables/$provideExecutablesForNode.d.ts +1 -1
- package/esm/typings/src/executables/apps/locateLibreoffice.d.ts +2 -1
- package/esm/typings/src/executables/apps/locatePandoc.d.ts +2 -1
- package/esm/typings/src/executables/platforms/locateAppOnLinux.d.ts +2 -1
- package/esm/typings/src/executables/platforms/locateAppOnMacOs.d.ts +2 -1
- package/esm/typings/src/executables/platforms/locateAppOnWindows.d.ts +2 -1
- package/esm/typings/src/execution/AbstractTaskResult.d.ts +1 -1
- package/esm/typings/src/execution/LlmExecutionToolsConstructor.d.ts +2 -1
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/$OngoingTaskResult.d.ts +12 -9
- package/esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +20 -14
- package/esm/typings/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +7 -6
- package/esm/typings/src/execution/createPipelineExecutor/getContextForTask.d.ts +5 -1
- package/esm/typings/src/execution/createPipelineExecutor/getExamplesForTask.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +8 -11
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/LindatAutomaticTranslator.d.ts +4 -4
- package/esm/typings/src/formats/csv/CsvSettings.d.ts +2 -2
- package/esm/typings/src/formfactors/chatbot/ChatbotFormfactorDefinition.d.ts +2 -2
- package/esm/typings/src/formfactors/completion/CompletionFormfactorDefinition.d.ts +1 -1
- package/esm/typings/src/formfactors/generator/GeneratorFormfactorDefinition.d.ts +2 -1
- package/esm/typings/src/formfactors/generic/GenericFormfactorDefinition.d.ts +2 -2
- package/esm/typings/src/formfactors/index.d.ts +3 -3
- package/esm/typings/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +4 -37
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/google/google-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/register-configuration.d.ts +2 -2
- package/esm/typings/src/llm-providers/openai/register-constructor.d.ts +2 -2
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +9 -10
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
20
20
|
* @generated
|
|
21
21
|
* @see https://github.com/webgptorg/promptbook
|
|
22
22
|
*/
|
|
23
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.92.0-
|
|
23
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.92.0-28';
|
|
24
24
|
/**
|
|
25
25
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
26
26
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1825,7 +1825,7 @@ const expectCommandParser = {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
|
|
1827
1827
|
/**
|
|
1828
|
-
*
|
|
1828
|
+
* Contains configuration options for parsing and generating CSV files, such as delimiters and quoting rules.
|
|
1829
1829
|
*
|
|
1830
1830
|
* @public exported from `@promptbook/core`
|
|
1831
1831
|
*/
|
|
@@ -2650,8 +2650,6 @@ function validateParameterName(parameterName) {
|
|
|
2650
2650
|
/**
|
|
2651
2651
|
* Parses the foreach command
|
|
2652
2652
|
*
|
|
2653
|
-
* Note: @@@ This command is used as foreach for new commands - it should NOT be used in any `.book` file
|
|
2654
|
-
*
|
|
2655
2653
|
* @see `documentationUrl` for more details
|
|
2656
2654
|
* @public exported from `@promptbook/editable`
|
|
2657
2655
|
*/
|
|
@@ -2892,14 +2890,14 @@ const formatCommandParser = {
|
|
|
2892
2890
|
};
|
|
2893
2891
|
|
|
2894
2892
|
/**
|
|
2895
|
-
*
|
|
2893
|
+
* Chatbot form factor definition for conversational interfaces that interact with users in a chat-like manner.
|
|
2896
2894
|
*
|
|
2897
2895
|
* @public exported from `@promptbook/core`
|
|
2898
2896
|
*/
|
|
2899
2897
|
const ChatbotFormfactorDefinition = {
|
|
2900
2898
|
name: 'CHATBOT',
|
|
2901
2899
|
aliasNames: ['CHAT'],
|
|
2902
|
-
description:
|
|
2900
|
+
description: `A chatbot form factor for conversational user interfaces.`,
|
|
2903
2901
|
documentationUrl: `https://github.com/webgptorg/promptbook/discussions/174`,
|
|
2904
2902
|
pipelineInterface: {
|
|
2905
2903
|
inputParameters: [
|
|
@@ -2932,7 +2930,7 @@ const ChatbotFormfactorDefinition = {
|
|
|
2932
2930
|
*/
|
|
2933
2931
|
const CompletionFormfactorDefinition = {
|
|
2934
2932
|
name: 'COMPLETION',
|
|
2935
|
-
description:
|
|
2933
|
+
description: `Completion is formfactor that emulates completion models`,
|
|
2936
2934
|
documentationUrl: `https://github.com/webgptorg/promptbook/discussions/@@`,
|
|
2937
2935
|
// <- TODO: https://github.com/webgptorg/promptbook/discussions/new?category=concepts
|
|
2938
2936
|
// "🔠 Completion Formfactor"
|
|
@@ -2963,7 +2961,8 @@ const CompletionFormfactorDefinition = {
|
|
|
2963
2961
|
};
|
|
2964
2962
|
|
|
2965
2963
|
/**
|
|
2966
|
-
* Generator
|
|
2964
|
+
* Generator form factor represents an application that generates content or data based on user input or predefined rules.
|
|
2965
|
+
* This form factor is used for apps that produce outputs, such as text, images, or other media, based on provided input.
|
|
2967
2966
|
*
|
|
2968
2967
|
* @public exported from `@promptbook/core`
|
|
2969
2968
|
*/
|
|
@@ -3007,13 +3006,13 @@ const GENERIC_PIPELINE_INTERFACE = {
|
|
|
3007
3006
|
*/
|
|
3008
3007
|
|
|
3009
3008
|
/**
|
|
3010
|
-
*
|
|
3009
|
+
* A generic pipeline
|
|
3011
3010
|
*
|
|
3012
3011
|
* @public exported from `@promptbook/core`
|
|
3013
3012
|
*/
|
|
3014
3013
|
const GenericFormfactorDefinition = {
|
|
3015
3014
|
name: 'GENERIC',
|
|
3016
|
-
description:
|
|
3015
|
+
description: `A generic pipeline`,
|
|
3017
3016
|
documentationUrl: `https://github.com/webgptorg/promptbook/discussions/173`,
|
|
3018
3017
|
pipelineInterface: GENERIC_PIPELINE_INTERFACE,
|
|
3019
3018
|
};
|