@promptbook/remote-client 0.92.0-23 → 0.92.0-24
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 +15 -5
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/collection/PipelineCollection.d.ts +0 -2
- package/esm/typings/src/collection/SimplePipelineCollection.d.ts +1 -1
- package/esm/typings/src/commands/FORMFACTOR/formfactorCommandParser.d.ts +1 -1
- package/esm/typings/src/config.d.ts +8 -4
- package/esm/typings/src/formats/_common/FormatSubvalueParser.d.ts +10 -10
- package/esm/typings/src/formfactors/_boilerplate/BoilerplateFormfactorDefinition.d.ts +3 -2
- package/esm/typings/src/formfactors/_common/string_formfactor_name.d.ts +2 -1
- package/esm/typings/src/formfactors/index.d.ts +1 -1
- package/esm/typings/src/formfactors/sheets/SheetsFormfactorDefinition.d.ts +3 -2
- package/esm/typings/src/llm-providers/_common/utils/cache/cacheLlmTools.d.ts +3 -3
- package/esm/typings/src/utils/environment/$getGlobalScope.d.ts +2 -1
- package/package.json +2 -2
- package/umd/index.umd.js +15 -5
- 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-24';
|
|
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
|
|
@@ -1926,6 +1926,15 @@ const CsvFormatParser = {
|
|
|
1926
1926
|
mappedData.push(mappedRow);
|
|
1927
1927
|
if (onProgress) {
|
|
1928
1928
|
// Note: Report the CSV with all rows mapped so far
|
|
1929
|
+
/*
|
|
1930
|
+
!!!!
|
|
1931
|
+
// Report progress with updated value
|
|
1932
|
+
const progressData = mappedData.map((row, i) =>
|
|
1933
|
+
i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
|
|
1934
|
+
);
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
*/
|
|
1929
1938
|
await onProgress(unparse(mappedData, { ...settings, ...MANDATORY_CSV_SETTINGS }));
|
|
1930
1939
|
}
|
|
1931
1940
|
}
|
|
@@ -3064,14 +3073,15 @@ const MatcherFormfactorDefinition = {
|
|
|
3064
3073
|
};
|
|
3065
3074
|
|
|
3066
3075
|
/**
|
|
3067
|
-
* Sheets is form of app that
|
|
3076
|
+
* Sheets is form of app that processes tabular data in CSV format, allowing transformation
|
|
3077
|
+
* and analysis of structured data through AI-powered operations
|
|
3068
3078
|
*
|
|
3069
3079
|
* @public exported from `@promptbook/core`
|
|
3070
3080
|
*/
|
|
3071
3081
|
const SheetsFormfactorDefinition = {
|
|
3072
3082
|
name: 'SHEETS',
|
|
3073
3083
|
aliasNames: ['SHEETS', 'SHEET'],
|
|
3074
|
-
description:
|
|
3084
|
+
description: `A formfactor for processing spreadsheet-like data in CSV format, enabling AI transformations on tabular data`,
|
|
3075
3085
|
documentationUrl: `https://github.com/webgptorg/promptbook/discussions/176`,
|
|
3076
3086
|
pipelineInterface: {
|
|
3077
3087
|
inputParameters: [
|
|
@@ -3147,7 +3157,7 @@ const FORMFACTOR_DEFINITIONS = [
|
|
|
3147
3157
|
/**
|
|
3148
3158
|
* Parses the formfactor command
|
|
3149
3159
|
*
|
|
3150
|
-
* Note:
|
|
3160
|
+
* Note: This command is used as a formfactor for new commands and defines the app type format - it should NOT be used in any `.book` file
|
|
3151
3161
|
*
|
|
3152
3162
|
* @see `documentationUrl` for more details
|
|
3153
3163
|
* @public exported from `@promptbook/editable`
|
|
@@ -3169,7 +3179,7 @@ const formfactorCommandParser = {
|
|
|
3169
3179
|
/**
|
|
3170
3180
|
* Description of the FORMFACTOR command
|
|
3171
3181
|
*/
|
|
3172
|
-
description:
|
|
3182
|
+
description: `Specifies the application type and interface requirements that this promptbook should conform to`,
|
|
3173
3183
|
/**
|
|
3174
3184
|
* Link to documentation
|
|
3175
3185
|
*/
|