@salesforce/lds-adapters-service-einsteinllm 1.451.0-dev2 → 1.451.0-dev3

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.
@@ -1,6 +1,6 @@
1
1
  import { EinsteinPromptTemplateAttachmentExclusionInfoRepresentation as EinsteinPromptTemplateAttachmentExclusionInfoRepresentation_EinsteinPromptTemplateAttachmentExclusionInfoRepresentation } from './EinsteinPromptTemplateAttachmentExclusionInfoRepresentation';
2
2
  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';
3
- export declare const VERSION = "9edc7f85ed953923f7b48f294886471a";
3
+ export declare const VERSION = "c7f101a8a143591c7e9c5e987860078e";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: EinsteinPromptTemplateAttachmentRepresentation, existing: EinsteinPromptTemplateAttachmentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTemplateAttachmentRepresentationNormalized;
@@ -28,6 +28,10 @@ export interface EinsteinPromptTemplateAttachmentRepresentationNormalized {
28
28
  parentName?: string;
29
29
  /** title of the attachment file */
30
30
  title: string;
31
+ /** Type of transformation applied to the file before it was sent to the model, such as conversion to PDF */
32
+ transformationInfo?: {
33
+ [key: string]: string;
34
+ };
31
35
  }
32
36
  /**
33
37
  * Representation of file data for prompt template attachments
@@ -43,4 +47,7 @@ export interface EinsteinPromptTemplateAttachmentRepresentation {
43
47
  latestPublishedVersion: string;
44
48
  parentName?: string;
45
49
  title: string;
50
+ transformationInfo?: {
51
+ [key: string]: string;
52
+ };
46
53
  }
@@ -0,0 +1,31 @@
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 = "623bf343adaad84a1a57137d70c052cf";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: EinsteinPromptTypeModelAffinityRepresentation, existing: EinsteinPromptTypeModelAffinityRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTypeModelAffinityRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: EinsteinPromptTypeModelAffinityRepresentationNormalized, incoming: EinsteinPromptTypeModelAffinityRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTypeModelAffinityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of the model affinity of a Prompt Template type
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface EinsteinPromptTypeModelAffinityRepresentationNormalized {
17
+ /** The capabilities preferred by the template type */
18
+ preferredCapabilities?: Array<string>;
19
+ /** The capabilities required by the template type */
20
+ requiredCapabilities?: Array<string>;
21
+ }
22
+ /**
23
+ * Representation of the model affinity of a Prompt Template type
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface EinsteinPromptTypeModelAffinityRepresentation {
29
+ preferredCapabilities?: Array<string>;
30
+ requiredCapabilities?: Array<string>;
31
+ }
@@ -1,7 +1,8 @@
1
+ import { EinsteinPromptTypeModelAffinityRepresentation as EinsteinPromptTypeModelAffinityRepresentation_EinsteinPromptTypeModelAffinityRepresentation } from './EinsteinPromptTypeModelAffinityRepresentation';
1
2
  import { EinsteinPromptTypeSchemaRepresentation as EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation } from './EinsteinPromptTypeSchemaRepresentation';
2
3
  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';
3
4
  export declare const TTL = 300;
4
- export declare const VERSION = "bb627c12e7041da02926d6b2affc98a1";
5
+ export declare const VERSION = "687e1fa3402f444465804964fd16a221";
5
6
  export declare function validate(obj: any, path?: string): TypeError | null;
6
7
  export declare const RepresentationType: string;
7
8
  export declare function normalize(input: EinsteinPromptTypeRecordRepresentation, existing: EinsteinPromptTypeRecordRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTypeRecordRepresentationNormalized;
@@ -16,8 +17,14 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
17
  * (none)
17
18
  */
18
19
  export interface EinsteinPromptTypeRecordRepresentationNormalized {
20
+ /** Whether templates of this type may invoke actions */
21
+ allowActions?: boolean;
22
+ /** The list of input-type classifications this template type may use */
23
+ allowedInputTypes?: Array<string>;
19
24
  /** The list of excluded global variables */
20
25
  excludedGlobalVariables: Array<string>;
26
+ /** The model affinity of the prompt template type */
27
+ modelAffinity?: EinsteinPromptTypeModelAffinityRepresentation_EinsteinPromptTypeModelAffinityRepresentation;
21
28
  schema: EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation;
22
29
  /** The unique name of the prompt template type */
23
30
  templateTypeName: string;
@@ -29,7 +36,10 @@ export interface EinsteinPromptTypeRecordRepresentationNormalized {
29
36
  * (none)
30
37
  */
31
38
  export interface EinsteinPromptTypeRecordRepresentation {
39
+ allowActions?: boolean;
40
+ allowedInputTypes?: Array<string>;
32
41
  excludedGlobalVariables: Array<string>;
42
+ modelAffinity?: EinsteinPromptTypeModelAffinityRepresentation_EinsteinPromptTypeModelAffinityRepresentation;
33
43
  schema: EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation;
34
44
  templateTypeName: string;
35
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einsteinllm",
3
- "version": "1.451.0-dev2",
3
+ "version": "1.451.0-dev3",
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",
@@ -41,10 +41,10 @@
41
41
  "test:unit": "jest --config=./jest.config.js"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.451.0-dev2"
44
+ "@salesforce/lds-bindings": "^1.451.0-dev3"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.451.0-dev2"
47
+ "@salesforce/lds-compiler-plugins": "^1.451.0-dev3"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {