@salesforce/lds-adapters-service-einsteinllm 1.289.0 → 1.290.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.
@@ -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 = "adf07d0c188c76ccfc6796d610950421";
2
+ export declare const VERSION = "77af44a252cb5b45b4d9a8101368d2aa";
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: EinsteinLlmGenerationsSafetyScoreRepresentation, existing: EinsteinLlmGenerationsSafetyScoreRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinLlmGenerationsSafetyScoreRepresentationNormalized;
@@ -15,19 +15,19 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface EinsteinLlmGenerationsSafetyScoreRepresentationNormalized {
17
17
  /** Hate Score */
18
- hateScore: number;
18
+ hateScore?: number | null;
19
19
  /** Physical Score */
20
- physicalScore: number;
20
+ physicalScore?: number | null;
21
21
  /** Profanity Score */
22
- profanityScore: number;
22
+ profanityScore?: number | null;
23
23
  /** Safety Score */
24
- safetyScore: number;
24
+ safetyScore?: number | null;
25
25
  /** Sexual Score */
26
- sexualScore: number;
26
+ sexualScore?: number | null;
27
27
  /** Toxicity Score */
28
- toxicityScore: number;
28
+ toxicityScore?: number | null;
29
29
  /** Violence Score */
30
- violenceScore: number;
30
+ violenceScore?: number | null;
31
31
  }
32
32
  /**
33
33
  * Output of a einstein llm generation safety score representation
@@ -36,11 +36,11 @@ export interface EinsteinLlmGenerationsSafetyScoreRepresentationNormalized {
36
36
  * (none)
37
37
  */
38
38
  export interface EinsteinLlmGenerationsSafetyScoreRepresentation {
39
- hateScore: number;
40
- physicalScore: number;
41
- profanityScore: number;
42
- safetyScore: number;
43
- sexualScore: number;
44
- toxicityScore: number;
45
- violenceScore: number;
39
+ hateScore?: number | null;
40
+ physicalScore?: number | null;
41
+ profanityScore?: number | null;
42
+ safetyScore?: number | null;
43
+ sexualScore?: number | null;
44
+ toxicityScore?: number | null;
45
+ violenceScore?: number | null;
46
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einsteinllm",
3
- "version": "1.289.0",
3
+ "version": "1.290.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",
@@ -43,11 +43,11 @@
43
43
  "test": "nx build:karma && karma start --single-run"
44
44
  },
45
45
  "dependencies": {
46
- "@salesforce/lds-bindings": "^1.289.0"
46
+ "@salesforce/lds-bindings": "^1.290.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.289.0",
50
- "@salesforce/lds-karma": "^1.289.0"
49
+ "@salesforce/lds-compiler-plugins": "^1.290.0",
50
+ "@salesforce/lds-karma": "^1.290.0"
51
51
  },
52
52
  "nx": {
53
53
  "targets": {