@salesforce/lds-adapters-service-einsteinllm 1.380.0-dev2 → 1.380.0-dev20

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.
Files changed (41) hide show
  1. package/dist/es/es2018/service-einsteinllm.js +3230 -1495
  2. package/dist/es/es2018/types/src/generated/adapters/createPromptTemplate.d.ts +2 -3
  3. package/dist/es/es2018/types/src/generated/adapters/createPromptTemplateVersion.d.ts +2 -3
  4. package/dist/es/es2018/types/src/generated/adapters/getDataProviderInstanceConfig.d.ts +31 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDataProviderTypeConfigs.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getDataProviders.d.ts +29 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getPromptTemplateVersion.d.ts +30 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getPromptTemplateVersions.d.ts +29 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getTemplateType.d.ts +27 -0
  10. package/dist/es/es2018/types/src/generated/adapters/putEinsteinPromptTemplateVersionStatus.d.ts +18 -0
  11. package/dist/es/es2018/types/src/generated/adapters/updatePromptTemplateVersion.d.ts +2 -3
  12. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
  13. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +14 -1
  14. package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplateTypesByTemplateTypeName.d.ts +15 -0
  15. package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProviderTypesByTemplateType.d.ts +15 -0
  16. package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProvidersByTemplateType.d.ts +19 -0
  17. package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesVersionsByPromptTemplateDevName.d.ts +19 -0
  18. package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesVersionsByPromptTemplateDevNameAndVersionId.d.ts +20 -0
  19. package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplates.d.ts +2 -3
  20. package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesDataProviderDescribe.d.ts +19 -0
  21. package/dist/es/es2018/types/src/generated/resources/postEinsteinPromptTemplatesVersionsByPromptTemplateDevName.d.ts +2 -3
  22. package/dist/es/es2018/types/src/generated/resources/putEinsteinPromptTemplatesVersionsByPromptTemplateDevNameAndVersionId.d.ts +2 -3
  23. package/dist/es/es2018/types/src/generated/resources/putEinsteinPromptTemplatesVersionsStatusByPromptTemplateDevNameAndVersionId.d.ts +17 -0
  24. package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationCitationRepresentation.d.ts +29 -0
  25. package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationGenAiCitedReferenceRepresentation.d.ts +43 -0
  26. package/dist/es/es2018/types/src/generated/types/EinsteinPromptRecordInputRepresentation.d.ts +5 -8
  27. package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsRepresentation.d.ts +7 -1
  28. package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeRecordRepresentation.d.ts +35 -0
  29. package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeSchemaInputFieldRepresentation.d.ts +37 -0
  30. package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeSchemaRepresentation.d.ts +35 -0
  31. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigCollectionRepresentation.d.ts +3 -3
  32. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigInputRepresentation.d.ts +5 -5
  33. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderInstanceConfigRepresentation.d.ts +6 -5
  34. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderOutputParamRepresentation.d.ts +4 -1
  35. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigCollectionRepresentation.d.ts +30 -0
  36. package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigRepresentation.d.ts +46 -0
  37. package/dist/es/es2018/types/src/generated/types/WrappedMap.d.ts +3 -3
  38. package/package.json +4 -4
  39. package/sfdc/index.js +2925 -1123
  40. package/src/raml/api.raml +285 -17
  41. package/src/raml/luvio.raml +41 -0
@@ -0,0 +1,43 @@
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 = "6a209d0b32d59e6e04155812fdf5c985";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: EinsteinLlmGenerationGenAiCitedReferenceRepresentation, existing: EinsteinLlmGenerationGenAiCitedReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinLlmGenerationGenAiCitedReferenceRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: EinsteinLlmGenerationGenAiCitedReferenceRepresentationNormalized, incoming: EinsteinLlmGenerationGenAiCitedReferenceRepresentationNormalized): 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: EinsteinLlmGenerationGenAiCitedReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output of a Einstein LLM Generation Gen AI Citation output
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface EinsteinLlmGenerationGenAiCitedReferenceRepresentationNormalized {
17
+ /** Array of locations where that particular citation needs to appear in the input text */
18
+ citationLocations?: Array<number>;
19
+ /** Matching chunk from the input text */
20
+ claims?: Array<string>;
21
+ /** Label */
22
+ label?: string;
23
+ /** Link */
24
+ link?: string;
25
+ /** SourceObjectApiName */
26
+ sourceObjectApiName?: string;
27
+ /** SourceObjectRecordId */
28
+ sourceObjectRecordId?: string;
29
+ }
30
+ /**
31
+ * Output of a Einstein LLM Generation Gen AI Citation output
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface EinsteinLlmGenerationGenAiCitedReferenceRepresentation {
37
+ citationLocations?: Array<number>;
38
+ claims?: Array<string>;
39
+ label?: string;
40
+ link?: string;
41
+ sourceObjectApiName?: string;
42
+ sourceObjectRecordId?: string;
43
+ }
@@ -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 = "5405c85696f6b3286417914877a43c6f";
2
+ export declare const VERSION = "fb8ff3eb5cea43d2e9913f9b44ce0052";
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: EinsteinPromptRecordInputRepresentation, existing: EinsteinPromptRecordInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptRecordInputRepresentationNormalized;
@@ -21,13 +21,11 @@ export interface EinsteinPromptRecordInputRepresentationNormalized {
21
21
  [key: string]: unknown;
22
22
  };
23
23
  /** GenAiPromptTemplate Fields */
24
- fields: Array<{
24
+ fields: {
25
25
  [key: string]: unknown;
26
- }>;
26
+ };
27
27
  /** The ID of the prompt template */
28
28
  id?: string;
29
- /** isStandard */
30
- isStandard: boolean;
31
29
  }
32
30
  /**
33
31
  * Input representation for creating a prompt template
@@ -40,9 +38,8 @@ export interface EinsteinPromptRecordInputRepresentation {
40
38
  childRelationships: {
41
39
  [key: string]: unknown;
42
40
  };
43
- fields: Array<{
41
+ fields: {
44
42
  [key: string]: unknown;
45
- }>;
43
+ };
46
44
  id?: string;
47
- isStandard: boolean;
48
45
  }
@@ -1,3 +1,4 @@
1
+ import { EinsteinLlmGenerationCitationRepresentation as EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation } from './EinsteinLlmGenerationCitationRepresentation';
1
2
  import { EinsteinPromptTemplateAttachmentRepresentation as EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation } from './EinsteinPromptTemplateAttachmentRepresentation';
2
3
  import { EinsteinPromptTemplateGenerationsErrorRepresentation as EinsteinPromptTemplateGenerationsErrorRepresentation_EinsteinPromptTemplateGenerationsErrorRepresentation } from './EinsteinPromptTemplateGenerationsErrorRepresentation';
3
4
  import { EinsteinLlmGenerationItemRepresentation as EinsteinLlmGenerationItemRepresentation_EinsteinLlmGenerationItemRepresentation } from './EinsteinLlmGenerationItemRepresentation';
@@ -6,7 +7,7 @@ import { EinsteinPromptTemplateMaskContentRepresentation as EinsteinPromptTempla
6
7
  import { EinsteinPromptTemplateMaskDataRepresentation as EinsteinPromptTemplateMaskDataRepresentation_EinsteinPromptTemplateMaskDataRepresentation } from './EinsteinPromptTemplateMaskDataRepresentation';
7
8
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
8
9
  export declare const TTL = 100;
9
- export declare const VERSION = "492c5045545dfbf96d7f660532a30499";
10
+ export declare const VERSION = "4f8799314eebcd45e3fca72dcdf7722d";
10
11
  export declare function validate(obj: any, path?: string): TypeError | null;
11
12
  export declare const RepresentationType: string;
12
13
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -30,6 +31,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
30
31
  * requestId (string): requestId
31
32
  */
32
33
  export interface EinsteinPromptTemplateGenerationsRepresentationNormalized {
34
+ citations?: EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation;
33
35
  /** file info of the input files used in generation */
34
36
  fileData?: Array<EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation>;
35
37
  /** generated prompt template generationErrors */
@@ -46,6 +48,8 @@ export interface EinsteinPromptTemplateGenerationsRepresentationNormalized {
46
48
  prompt: string | null;
47
49
  /** generated prompt template promptTemplateDevName */
48
50
  promptTemplateDevName: string;
51
+ /** Raw prompt with unresolved merge fields */
52
+ rawPrompt: string | null;
49
53
  /** ID of the generation request */
50
54
  requestId: string;
51
55
  /** generated prompt template RequestMessages */
@@ -62,6 +66,7 @@ export interface EinsteinPromptTemplateGenerationsRepresentationNormalized {
62
66
  * requestId (string): requestId
63
67
  */
64
68
  export interface EinsteinPromptTemplateGenerationsRepresentation {
69
+ citations?: EinsteinLlmGenerationCitationRepresentation_EinsteinLlmGenerationCitationRepresentation;
65
70
  fileData?: Array<EinsteinPromptTemplateAttachmentRepresentation_EinsteinPromptTemplateAttachmentRepresentation>;
66
71
  generationErrors?: Array<EinsteinPromptTemplateGenerationsErrorRepresentation_EinsteinPromptTemplateGenerationsErrorRepresentation>;
67
72
  generations: Array<EinsteinLlmGenerationItemRepresentation_EinsteinLlmGenerationItemRepresentation>;
@@ -71,6 +76,7 @@ export interface EinsteinPromptTemplateGenerationsRepresentation {
71
76
  parameters: WrappedMap_WrappedMap | null;
72
77
  prompt: string | null;
73
78
  promptTemplateDevName: string;
79
+ rawPrompt: string | null;
74
80
  requestId: string;
75
81
  requestMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
76
82
  responseMessages?: Array<EinsteinPromptTemplateMaskContentRepresentation_EinsteinPromptTemplateMaskContentRepresentation>;
@@ -0,0 +1,35 @@
1
+ import { EinsteinPromptTypeSchemaRepresentation as EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation } from './EinsteinPromptTypeSchemaRepresentation';
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 TTL = 300;
4
+ export declare const VERSION = "bb627c12e7041da02926d6b2affc98a1";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ 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;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: EinsteinPromptTypeRecordRepresentationNormalized, incoming: EinsteinPromptTypeRecordRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTypeRecordRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Representation of a single Prompt Template Type
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface EinsteinPromptTypeRecordRepresentationNormalized {
19
+ /** The list of excluded global variables */
20
+ excludedGlobalVariables: Array<string>;
21
+ schema: EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation;
22
+ /** The unique name of the prompt template type */
23
+ templateTypeName: string;
24
+ }
25
+ /**
26
+ * Representation of a single Prompt Template Type
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface EinsteinPromptTypeRecordRepresentation {
32
+ excludedGlobalVariables: Array<string>;
33
+ schema: EinsteinPromptTypeSchemaRepresentation_EinsteinPromptTypeSchemaRepresentation;
34
+ templateTypeName: string;
35
+ }
@@ -0,0 +1,37 @@
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 = "f08355bdc491f090c787309a8a476caa";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: EinsteinPromptTypeSchemaInputFieldRepresentation, existing: EinsteinPromptTypeSchemaInputFieldRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTypeSchemaInputFieldRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: EinsteinPromptTypeSchemaInputFieldRepresentationNormalized, incoming: EinsteinPromptTypeSchemaInputFieldRepresentationNormalized): 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: EinsteinPromptTypeSchemaInputFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of an input in the schema of Prompt Template Type
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface EinsteinPromptTypeSchemaInputFieldRepresentationNormalized {
17
+ /** The unique API name of the input */
18
+ apiName: string;
19
+ /** The label of the input */
20
+ label?: string;
21
+ /** The reference name of the input */
22
+ referenceName?: string;
23
+ /** The type definition of the input */
24
+ typeDefinition?: string;
25
+ }
26
+ /**
27
+ * Representation of an input in the schema of Prompt Template Type
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface EinsteinPromptTypeSchemaInputFieldRepresentation {
33
+ apiName: string;
34
+ label?: string;
35
+ referenceName?: string;
36
+ typeDefinition?: string;
37
+ }
@@ -0,0 +1,35 @@
1
+ import { EinsteinPromptTypeSchemaInputFieldRepresentation as EinsteinPromptTypeSchemaInputFieldRepresentation_EinsteinPromptTypeSchemaInputFieldRepresentation } from './EinsteinPromptTypeSchemaInputFieldRepresentation';
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 = "a0cab6d022a5571ceb94328166f1db95";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: EinsteinPromptTypeSchemaRepresentation, existing: EinsteinPromptTypeSchemaRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinPromptTypeSchemaRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: EinsteinPromptTypeSchemaRepresentationNormalized, incoming: EinsteinPromptTypeSchemaRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EinsteinPromptTypeSchemaRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Representation of the schema of a Prompt Template type
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface EinsteinPromptTypeSchemaRepresentationNormalized {
18
+ /** Whether to allow input extension */
19
+ allowInputExtension: boolean;
20
+ /** Inputs in this template type */
21
+ inputs: Array<EinsteinPromptTypeSchemaInputFieldRepresentation_EinsteinPromptTypeSchemaInputFieldRepresentation>;
22
+ /** The ID of the primary object in the template type */
23
+ primaryObjectId?: string;
24
+ }
25
+ /**
26
+ * Representation of the schema of a Prompt Template type
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface EinsteinPromptTypeSchemaRepresentation {
32
+ allowInputExtension: boolean;
33
+ inputs: Array<EinsteinPromptTypeSchemaInputFieldRepresentation_EinsteinPromptTypeSchemaInputFieldRepresentation>;
34
+ primaryObjectId?: string;
35
+ }
@@ -1,7 +1,7 @@
1
1
  import { PromptTemplateDataProviderInstanceConfigRepresentation as PromptTemplateDataProviderInstanceConfigRepresentation_PromptTemplateDataProviderInstanceConfigRepresentation } from './PromptTemplateDataProviderInstanceConfigRepresentation';
2
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
3
  export declare const TTL = 300;
4
- export declare const VERSION = "f86b04aed156ed794e7502ef43bb4171";
4
+ export declare const VERSION = "3a6ecdfe18eb2af8f8f6aaa1a30b194c";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: PromptTemplateDataProviderInstanceConfigCollectionRepresentation, existing: PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized;
@@ -17,7 +17,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  */
18
18
  export interface PromptTemplateDataProviderInstanceConfigCollectionRepresentationNormalized {
19
19
  /** List of data provider instance configurations */
20
- dataProviderInstanceConfigs: Array<PromptTemplateDataProviderInstanceConfigRepresentation_PromptTemplateDataProviderInstanceConfigRepresentation>;
20
+ dataProviderInstanceConfigs: Array<$64$luvio_engine_StoreLink>;
21
21
  }
22
22
  /**
23
23
  * Collection of data provider instance configurations for a prompt template version
@@ -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 = "d2184597a14aad89ac444663f517c033";
2
+ export declare const VERSION = "274cf47ad59f25a309f109c720950067";
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: PromptTemplateDataProviderInstanceConfigInputRepresentation, existing: PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized;
@@ -15,8 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface PromptTemplateDataProviderInstanceConfigInputRepresentationNormalized {
17
17
  /** Additional parameters for the data provider configuration */
18
- additionalParam: {
19
- [key: string]: {};
18
+ additionalParam?: {
19
+ [key: string]: unknown;
20
20
  };
21
21
  /** The definition of the data provider instance */
22
22
  definition: string;
@@ -30,8 +30,8 @@ export interface PromptTemplateDataProviderInstanceConfigInputRepresentationNorm
30
30
  * (none)
31
31
  */
32
32
  export interface PromptTemplateDataProviderInstanceConfigInputRepresentation {
33
- additionalParam: {
34
- [key: string]: {};
33
+ additionalParam?: {
34
+ [key: string]: unknown;
35
35
  };
36
36
  definition: string;
37
37
  groupName: string;
@@ -1,11 +1,12 @@
1
1
  import { PromptTemplateDataProviderOutputParamRepresentation as PromptTemplateDataProviderOutputParamRepresentation_PromptTemplateDataProviderOutputParamRepresentation } from './PromptTemplateDataProviderOutputParamRepresentation';
2
2
  import { PromptTemplateDataProviderInputParamRepresentation as PromptTemplateDataProviderInputParamRepresentation_PromptTemplateDataProviderInputParamRepresentation } from './PromptTemplateDataProviderInputParamRepresentation';
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';
4
- export declare const VERSION = "d355f400d76b70bd1d3e86a25aee60c9";
3
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
+ export declare const TTL = 300;
5
+ export declare const VERSION = "d4824d8c6e7848df0de89295e6d9d434";
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: PromptTemplateDataProviderInstanceConfigRepresentation, existing: PromptTemplateDataProviderInstanceConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderInstanceConfigRepresentationNormalized;
8
- export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
10
  export declare function equals(existing: PromptTemplateDataProviderInstanceConfigRepresentationNormalized, incoming: PromptTemplateDataProviderInstanceConfigRepresentationNormalized): boolean;
10
11
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
12
  export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderInstanceConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
@@ -38,7 +39,7 @@ export interface PromptTemplateDataProviderInstanceConfigRepresentationNormalize
38
39
  [key: string]: unknown;
39
40
  };
40
41
  /** The icon identifier for the data provider instance */
41
- nodeIcon: string | null;
42
+ nodeIcon?: string | null;
42
43
  /** The list of all output parameters for the data provider instance */
43
44
  outputParams?: Array<PromptTemplateDataProviderOutputParamRepresentation_PromptTemplateDataProviderOutputParamRepresentation>;
44
45
  /** The reference name for the data provider instance */
@@ -68,7 +69,7 @@ export interface PromptTemplateDataProviderInstanceConfigRepresentation {
68
69
  mappedInputs?: {
69
70
  [key: string]: unknown;
70
71
  };
71
- nodeIcon: string | null;
72
+ nodeIcon?: string | null;
72
73
  outputParams?: Array<PromptTemplateDataProviderOutputParamRepresentation_PromptTemplateDataProviderOutputParamRepresentation>;
73
74
  referenceName: string;
74
75
  scopedToTarget?: string | null;
@@ -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
  }
@@ -0,0 +1,30 @@
1
+ import { PromptTemplateDataProviderTypeConfigRepresentation as PromptTemplateDataProviderTypeConfigRepresentation_PromptTemplateDataProviderTypeConfigRepresentation } from './PromptTemplateDataProviderTypeConfigRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 TTL = 300;
4
+ export declare const VERSION = "212332dac1decc071b476742df3440fb";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: PromptTemplateDataProviderTypeConfigCollectionRepresentation, existing: PromptTemplateDataProviderTypeConfigCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderTypeConfigCollectionRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_BaseFragment;
9
+ export declare function equals(existing: PromptTemplateDataProviderTypeConfigCollectionRepresentationNormalized, incoming: PromptTemplateDataProviderTypeConfigCollectionRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PromptTemplateDataProviderTypeConfigCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Collection of data provider type configurations for a prompt template type
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PromptTemplateDataProviderTypeConfigCollectionRepresentationNormalized {
19
+ /** List of data provider type configs */
20
+ dataProviderTypeConfigs: Array<PromptTemplateDataProviderTypeConfigRepresentation_PromptTemplateDataProviderTypeConfigRepresentation>;
21
+ }
22
+ /**
23
+ * Collection of data provider type configurations for a prompt template type
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface PromptTemplateDataProviderTypeConfigCollectionRepresentation {
29
+ dataProviderTypeConfigs: Array<PromptTemplateDataProviderTypeConfigRepresentation_PromptTemplateDataProviderTypeConfigRepresentation>;
30
+ }
@@ -0,0 +1,46 @@
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 = "b97b40e8857fec8cc77b329fcbd342d7";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PromptTemplateDataProviderTypeConfigRepresentation, existing: PromptTemplateDataProviderTypeConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PromptTemplateDataProviderTypeConfigRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PromptTemplateDataProviderTypeConfigRepresentationNormalized, incoming: PromptTemplateDataProviderTypeConfigRepresentationNormalized): 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: PromptTemplateDataProviderTypeConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output representation of a data provider type configuration
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface PromptTemplateDataProviderTypeConfigRepresentationNormalized {
17
+ /** The localized description of the data provider type */
18
+ description?: string;
19
+ /** The group name of the data provider type */
20
+ groupName: string;
21
+ /** The icon identifier for the data provider type */
22
+ icon: string;
23
+ /** Indicates whether this is a top level data provider type */
24
+ isTopLevel: boolean;
25
+ /** The localized label of the data provider type */
26
+ label: string;
27
+ /** The parent node identifier for hierarchical data provider types */
28
+ parentNode?: string;
29
+ /** The scope configuration for the data provider type (can be 'ALL' or list of specific scopes) */
30
+ scope?: unknown;
31
+ }
32
+ /**
33
+ * Output representation of a data provider type configuration
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface PromptTemplateDataProviderTypeConfigRepresentation {
39
+ description?: string;
40
+ groupName: string;
41
+ icon: string;
42
+ isTopLevel: boolean;
43
+ label: string;
44
+ parentNode?: string;
45
+ scope?: unknown;
46
+ }
@@ -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 = "4656c961c9d093a9e206c1db7d4de0b0";
2
+ export declare const VERSION = "379fd960d1a0118f506f458ab2c8dd7e";
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: WrappedMap, existing: WrappedMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WrappedMapNormalized;
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface WrappedMapNormalized {
17
17
  /** wrapped map */
18
18
  wrappedMap: {
19
- [key: string]: {};
19
+ [key: string]: unknown;
20
20
  };
21
21
  }
22
22
  /**
@@ -27,6 +27,6 @@ export interface WrappedMapNormalized {
27
27
  */
28
28
  export interface WrappedMap {
29
29
  wrappedMap: {
30
- [key: string]: {};
30
+ [key: string]: unknown;
31
31
  };
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einsteinllm",
3
- "version": "1.380.0-dev2",
3
+ "version": "1.380.0-dev20",
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-dev2"
47
+ "@salesforce/lds-bindings": "^1.380.0-dev20"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.380.0-dev2",
51
- "@salesforce/lds-karma": "^1.380.0-dev2"
50
+ "@salesforce/lds-compiler-plugins": "^1.380.0-dev20",
51
+ "@salesforce/lds-karma": "^1.380.0-dev20"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {