@salesforce/lds-adapters-service-einsteinllm 1.380.0-dev10 → 1.380.0-dev12

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.
@@ -2615,6 +2615,13 @@ function validate$j(obj, path = 'PromptTemplateDataProviderOutputParamRepresenta
2615
2615
  if (typeof obj_label !== 'string') {
2616
2616
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
2617
2617
  }
2618
+ if (obj.type !== undefined) {
2619
+ const obj_type = obj.type;
2620
+ const path_type = path + '.type';
2621
+ if (typeof obj_type !== 'string') {
2622
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
2623
+ }
2624
+ }
2618
2625
  })();
2619
2626
  return v_error === undefined ? null : v_error;
2620
2627
  }
@@ -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 = "45d18094ca9aa50f10c67e7e71077af3";
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.380.0-dev10",
3
+ "version": "1.380.0-dev12",
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.380.0-dev10"
47
+ "@salesforce/lds-bindings": "^1.380.0-dev12"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev10",
51
- "@salesforce/lds-karma": "^1.380.0-dev10"
50
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev12",
51
+ "@salesforce/lds-karma": "^1.380.0-dev12"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -3784,6 +3784,13 @@ function validate$b(obj, path = 'PromptTemplateDataProviderOutputParamRepresenta
3784
3784
  if (typeof obj_label !== 'string') {
3785
3785
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
3786
3786
  }
3787
+ if (obj.type !== undefined) {
3788
+ const obj_type = obj.type;
3789
+ const path_type = path + '.type';
3790
+ if (typeof obj_type !== 'string') {
3791
+ return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
3792
+ }
3793
+ }
3787
3794
  })();
3788
3795
  return v_error === undefined ? null : v_error;
3789
3796
  }
@@ -6415,4 +6422,4 @@ withDefaultLuvio((luvio) => {
6415
6422
  });
6416
6423
 
6417
6424
  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, getPromptTemplateVersion, getPromptTemplateVersion_imperative, getPromptTemplateVersions, getPromptTemplateVersions_imperative, getPromptTemplate_imperative, getPromptTemplates, getPromptTemplates_imperative, putEinsteinPromptTemplateVersionStatus, updatePromptTemplateVersion };
6418
- // version: 1.380.0-dev10-0a2876c461
6425
+ // version: 1.380.0-dev12-c6c835c6d3
package/src/raml/api.raml CHANGED
@@ -829,6 +829,10 @@ types:
829
829
  label:
830
830
  description: The label of the output parameter
831
831
  type: string
832
+ type:
833
+ description: The type of the output parameter
834
+ type: string
835
+ required: false # TODO Hand-rolled W-19622413
832
836
  PromptTemplateDataProviderTypeConfigCollectionRepresentation:
833
837
  description: Collection of data provider type configurations for a prompt template
834
838
  type