@salesforce/lds-adapters-service-einsteinllm 1.229.0-dev6 → 1.229.0-dev8
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.
|
@@ -607,6 +607,13 @@ function validate$4(obj, path = 'EinsteinLlmFeedbackInputRepresentation') {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
+
if (obj.applicationName !== undefined) {
|
|
611
|
+
const obj_applicationName = obj.applicationName;
|
|
612
|
+
const path_applicationName = path + '.applicationName';
|
|
613
|
+
if (typeof obj_applicationName !== 'string') {
|
|
614
|
+
return new TypeError('Expected "string" but received "' + typeof obj_applicationName + '" (at "' + path_applicationName + '")');
|
|
615
|
+
}
|
|
616
|
+
}
|
|
610
617
|
if (obj.feedback !== undefined) {
|
|
611
618
|
const obj_feedback = obj.feedback;
|
|
612
619
|
const path_feedback = path + '.feedback';
|
package/dist/es/es2018/types/src/generated/types/EinsteinLlmFeedbackInputRepresentation.d.ts
CHANGED
|
@@ -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 = "3e2a8364ea8f4614aa5a49f6105c3e28";
|
|
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: EinsteinLlmFeedbackInputRepresentation, existing: EinsteinLlmFeedbackInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EinsteinLlmFeedbackInputRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export interface EinsteinLlmFeedbackInputRepresentationNormalized {
|
|
|
18
18
|
appFeedback?: {
|
|
19
19
|
[key: string]: {};
|
|
20
20
|
};
|
|
21
|
+
/** Application name */
|
|
22
|
+
applicationName?: string;
|
|
21
23
|
/** feedback */
|
|
22
24
|
feedback?: string;
|
|
23
25
|
/** Feedback Text */
|
|
@@ -39,6 +41,7 @@ export interface EinsteinLlmFeedbackInputRepresentation {
|
|
|
39
41
|
appFeedback?: {
|
|
40
42
|
[key: string]: {};
|
|
41
43
|
};
|
|
44
|
+
applicationName?: string;
|
|
42
45
|
feedback?: string;
|
|
43
46
|
feedbackText: string;
|
|
44
47
|
generationId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-einsteinllm",
|
|
3
|
-
"version": "1.229.0-
|
|
3
|
+
"version": "1.229.0-dev8",
|
|
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:compat": "karma start --single-run --compat"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "1.229.0-
|
|
47
|
+
"@salesforce/lds-bindings": "1.229.0-dev8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "1.229.0-
|
|
51
|
-
"@salesforce/lds-karma": "1.229.0-
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "1.229.0-dev8",
|
|
51
|
+
"@salesforce/lds-karma": "1.229.0-dev8"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -134,6 +134,13 @@ function validate$9(obj, path = 'EinsteinLlmFeedbackInputRepresentation') {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
+
if (obj.applicationName !== undefined) {
|
|
138
|
+
const obj_applicationName = obj.applicationName;
|
|
139
|
+
const path_applicationName = path + '.applicationName';
|
|
140
|
+
if (typeof obj_applicationName !== 'string') {
|
|
141
|
+
return new TypeError('Expected "string" but received "' + typeof obj_applicationName + '" (at "' + path_applicationName + '")');
|
|
142
|
+
}
|
|
143
|
+
}
|
|
137
144
|
if (obj.feedback !== undefined) {
|
|
138
145
|
const obj_feedback = obj.feedback;
|
|
139
146
|
const path_feedback = path + '.feedback';
|
|
@@ -1190,4 +1197,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1190
1197
|
});
|
|
1191
1198
|
|
|
1192
1199
|
export { createFeedback, createGenerations, createGenerationsForPromptTemplate };
|
|
1193
|
-
// version: 1.229.0-
|
|
1200
|
+
// version: 1.229.0-dev8-26b9af754
|
package/src/raml/api.raml
CHANGED
|
@@ -127,6 +127,10 @@ types:
|
|
|
127
127
|
source:
|
|
128
128
|
description: Feedback source
|
|
129
129
|
type: string
|
|
130
|
+
applicationName:
|
|
131
|
+
description: Application name
|
|
132
|
+
type: string
|
|
133
|
+
required: false
|
|
130
134
|
EinsteinLlmFeedbackRepresentation:
|
|
131
135
|
description: Output of a einstein llm feedback call
|
|
132
136
|
type: object
|