@salesforce/lds-adapters-service-einsteinllm 1.387.0 → 1.389.0
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.
|
@@ -2623,6 +2623,13 @@ function validate$j(obj, path = 'PromptTemplateDataProviderOutputParamRepresenta
|
|
|
2623
2623
|
if (typeof obj_label !== 'string') {
|
|
2624
2624
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
2625
2625
|
}
|
|
2626
|
+
if (obj.type !== undefined) {
|
|
2627
|
+
const obj_type = obj.type;
|
|
2628
|
+
const path_type = path + '.type';
|
|
2629
|
+
if (typeof obj_type !== 'string') {
|
|
2630
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2626
2633
|
})();
|
|
2627
2634
|
return v_error === undefined ? null : v_error;
|
|
2628
2635
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "c4d2df4f0dc05bc5c7abad9af197958b";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: PromptTemplateDataProviderOutputParamRepresentation, existing: PromptTemplateDataProviderOutputParamRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderOutputParamRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export interface PromptTemplateDataProviderOutputParamRepresentationNormalized {
|
|
|
18
18
|
apiName: string;
|
|
19
19
|
/** The label of the output parameter */
|
|
20
20
|
label: string;
|
|
21
|
+
/** The type of the output parameter */
|
|
22
|
+
type?: string;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* Represents an output parameter for a data provider instance
|
|
@@ -28,4 +30,5 @@ export interface PromptTemplateDataProviderOutputParamRepresentationNormalized {
|
|
|
28
30
|
export interface PromptTemplateDataProviderOutputParamRepresentation {
|
|
29
31
|
apiName: string;
|
|
30
32
|
label: string;
|
|
33
|
+
type?: string;
|
|
31
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-einsteinllm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.389.0",
|
|
4
4
|
"description": "Connect family for Einstein LLM generations",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-einsteinllm.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.389.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.389.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.389.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -3765,6 +3765,13 @@ function validate$b(obj, path = 'PromptTemplateDataProviderOutputParamRepresenta
|
|
|
3765
3765
|
if (typeof obj_label !== 'string') {
|
|
3766
3766
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3767
3767
|
}
|
|
3768
|
+
if (obj.type !== undefined) {
|
|
3769
|
+
const obj_type = obj.type;
|
|
3770
|
+
const path_type = path + '.type';
|
|
3771
|
+
if (typeof obj_type !== 'string') {
|
|
3772
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3768
3775
|
})();
|
|
3769
3776
|
return v_error === undefined ? null : v_error;
|
|
3770
3777
|
}
|
|
@@ -6099,4 +6106,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6099
6106
|
});
|
|
6100
6107
|
|
|
6101
6108
|
export { createEmbeddings, createEmbeddings_imperative, createFeedback, createGenerations, createGenerationsForPromptTemplate, createPromptTemplate, createPromptTemplateVersion, getDataProviderInstanceConfig, getDataProviderInstanceConfig_imperative, getDataProviderTypeConfigs, getDataProviderTypeConfigs_imperative, getDataProviders, getDataProviders_imperative, getInputMappedDataProviders, getInputMappedDataProviders_imperative, getOutputLanguages, getOutputLanguages_imperative, getPromptTemplate, getPromptTemplate_imperative, getPromptTemplates, getPromptTemplates_imperative, putEinsteinPromptTemplateVersionStatus, updatePromptTemplateVersion };
|
|
6102
|
-
// version: 1.
|
|
6109
|
+
// version: 1.389.0-375f8790ac
|
package/src/raml/api.raml
CHANGED
|
@@ -831,6 +831,10 @@ types:
|
|
|
831
831
|
label:
|
|
832
832
|
description: The label of the output parameter
|
|
833
833
|
type: string
|
|
834
|
+
type:
|
|
835
|
+
description: The type of the output parameter
|
|
836
|
+
type: string
|
|
837
|
+
required: false # TODO Hand-rolled W-19622413
|
|
834
838
|
PromptTemplateDataProviderTypeConfigCollectionRepresentation:
|
|
835
839
|
description: Collection of data provider type configurations for a prompt template
|
|
836
840
|
type
|