@salesforce/lds-adapters-service-einsteinllm 1.289.0 → 1.291.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.
- package/dist/es/es2018/service-einsteinllm.js +385 -51
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationItemRepresentation.d.ts +7 -5
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsContentQualityRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationsSafetyScoreRepresentation.d.ts +15 -15
- package/package.json +4 -4
- package/sfdc/index.js +386 -52
- package/src/raml/api.raml +19 -18
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '61.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v62.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -138,7 +138,7 @@ types:
|
|
|
138
138
|
properties:
|
|
139
139
|
contentQualityRepresentation:
|
|
140
140
|
description: Generations Content Quality Representation
|
|
141
|
-
type: EinsteinLlmGenerationsContentQualityRepresentation
|
|
141
|
+
type: EinsteinLlmGenerationsContentQualityRepresentation | nil # Hand-rolled union 'nil'
|
|
142
142
|
required: false # TODO Hand-rolled W-9314597
|
|
143
143
|
parameters:
|
|
144
144
|
description: Any provider specific attributes will be included as part of
|
|
@@ -149,7 +149,7 @@ types:
|
|
|
149
149
|
type: string
|
|
150
150
|
safetyScoreRepresentation:
|
|
151
151
|
description: 'Generations Safety Score Representation '
|
|
152
|
-
type: EinsteinLlmGenerationsSafetyScoreRepresentation
|
|
152
|
+
type: EinsteinLlmGenerationsSafetyScoreRepresentation | nil # Hand-rolled union 'nil'
|
|
153
153
|
required: false # TODO Hand-rolled W-9314597
|
|
154
154
|
text:
|
|
155
155
|
description: Text
|
|
@@ -160,7 +160,8 @@ types:
|
|
|
160
160
|
properties:
|
|
161
161
|
isToxicityDetected:
|
|
162
162
|
description: Content Quality
|
|
163
|
-
|
|
163
|
+
required: false # TODO Hand-rolled W-9314597
|
|
164
|
+
type: boolean | nil # Hand-rolled union 'nil'
|
|
164
165
|
# TODO Hand-rolled W-8334626
|
|
165
166
|
# Need to manually wrap the input representation with what the aura controller is expecting
|
|
166
167
|
EinsteinLlmGenerationsInputWrapperRepresentation:
|
|
@@ -219,32 +220,32 @@ types:
|
|
|
219
220
|
properties:
|
|
220
221
|
hateScore:
|
|
221
222
|
description: Hate Score
|
|
222
|
-
|
|
223
|
-
|
|
223
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
224
|
+
required: false # TODO Hand-rolled W-9314597
|
|
224
225
|
physicalScore:
|
|
225
226
|
description: Physical Score
|
|
226
|
-
|
|
227
|
-
|
|
227
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
228
|
+
required: false # TODO Hand-rolled W-9314597
|
|
228
229
|
profanityScore:
|
|
229
230
|
description: Profanity Score
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
232
|
+
required: false # TODO Hand-rolled W-9314597
|
|
232
233
|
safetyScore:
|
|
233
234
|
description: Safety Score
|
|
234
|
-
|
|
235
|
-
|
|
235
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
236
|
+
required: false # TODO Hand-rolled W-9314597
|
|
236
237
|
sexualScore:
|
|
237
238
|
description: Sexual Score
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
240
|
+
required: false # TODO Hand-rolled W-9314597
|
|
240
241
|
toxicityScore:
|
|
241
242
|
description: Toxicity Score
|
|
242
|
-
|
|
243
|
-
|
|
243
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
244
|
+
required: false # TODO Hand-rolled W-9314597
|
|
244
245
|
violenceScore:
|
|
245
246
|
description: Violence Score
|
|
246
|
-
|
|
247
|
-
|
|
247
|
+
type: number | nil # Hand-rolled union 'nil'
|
|
248
|
+
required: false # TODO Hand-rolled W-9314597
|
|
248
249
|
EinsteinPromptTemplateGenerationsErrorRepresentation:
|
|
249
250
|
description: Error output of a EinsteinPromptTemplateGeneration request
|
|
250
251
|
type: object
|