@salesforce/lds-adapters-service-einsteinllm 1.412.1 → 1.413.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 +929 -605
- package/dist/es/es2018/types/src/generated/adapters/putEinsteinPromptTemplateStatus.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/putEinsteinPromptTemplatesStatusByPromptTemplateDevName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateStatusRepresentation.d.ts +59 -0
- package/package.json +4 -4
- package/sfdc/index.js +1247 -920
- package/src/raml/api.raml +53 -1
- package/src/raml/luvio.raml +9 -0
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '62.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v67.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -670,6 +670,40 @@ types:
|
|
|
670
670
|
enableModeration:
|
|
671
671
|
description: enable moderation value
|
|
672
672
|
type: boolean
|
|
673
|
+
EinsteinPromptTemplateStatusRepresentation:
|
|
674
|
+
description: Comprehensive representation for prompt template operations including creation, updates, and activation/deactivation
|
|
675
|
+
type: object
|
|
676
|
+
properties:
|
|
677
|
+
additionalData?: # TODO Hand-rolled W-20775798
|
|
678
|
+
description: Additional data, such as references
|
|
679
|
+
type: WrappedMap
|
|
680
|
+
errorMessages:
|
|
681
|
+
description: Error Messages
|
|
682
|
+
type: array
|
|
683
|
+
items:
|
|
684
|
+
type: string
|
|
685
|
+
hasWarning:
|
|
686
|
+
description: has warning messages
|
|
687
|
+
type: boolean
|
|
688
|
+
isSuccessful:
|
|
689
|
+
description: IsSuccessful
|
|
690
|
+
type: boolean
|
|
691
|
+
statusCode:
|
|
692
|
+
description: Status Code of connect api
|
|
693
|
+
type: string
|
|
694
|
+
required: false # TODO Hand-rolled W-20775798
|
|
695
|
+
templateId:
|
|
696
|
+
description: Template Id
|
|
697
|
+
type: string
|
|
698
|
+
templateType:
|
|
699
|
+
description: Template Type
|
|
700
|
+
type: string
|
|
701
|
+
required: false # TODO Hand-rolled W-20775798
|
|
702
|
+
warningMessages:
|
|
703
|
+
description: Warning Messages
|
|
704
|
+
type: array
|
|
705
|
+
items:
|
|
706
|
+
type: string
|
|
673
707
|
EinsteinPromptTemplateSupportedLanguageErrorRepresentation:
|
|
674
708
|
description: Representation of an error encountered when returning the Prompt Template Version Supported Languages.
|
|
675
709
|
type: object
|
|
@@ -1175,6 +1209,24 @@ types:
|
|
|
1175
1209
|
promptTemplateDevName:
|
|
1176
1210
|
type: string
|
|
1177
1211
|
required: true
|
|
1212
|
+
/status:
|
|
1213
|
+
put:
|
|
1214
|
+
displayName: putEinsteinPromptTemplateStatus
|
|
1215
|
+
description: Update prompt template status (deactivate)
|
|
1216
|
+
responses:
|
|
1217
|
+
'200':
|
|
1218
|
+
description: Success
|
|
1219
|
+
body:
|
|
1220
|
+
application/json:
|
|
1221
|
+
type: EinsteinPromptTemplateStatusRepresentation
|
|
1222
|
+
queryParameters:
|
|
1223
|
+
action:
|
|
1224
|
+
type: string
|
|
1225
|
+
required: false
|
|
1226
|
+
uriParameters:
|
|
1227
|
+
promptTemplateDevName:
|
|
1228
|
+
type: string
|
|
1229
|
+
required: true
|
|
1178
1230
|
/versions:
|
|
1179
1231
|
get:
|
|
1180
1232
|
displayName: getEinsteinPromptTemplateVersions
|
package/src/raml/luvio.raml
CHANGED
|
@@ -33,6 +33,10 @@ types:
|
|
|
33
33
|
(luvio.ttl): 100
|
|
34
34
|
(luvio.key):
|
|
35
35
|
versionId: versionId
|
|
36
|
+
EinsteinPromptTemplateStatusRepresentation:
|
|
37
|
+
(luvio.ttl): 100
|
|
38
|
+
(luvio.key):
|
|
39
|
+
templateId: templateId
|
|
36
40
|
PromptTemplateDataProviderInstanceConfigCollectionRepresentation:
|
|
37
41
|
(luvio.ttl): 300
|
|
38
42
|
(luvio.opaque): true
|
|
@@ -124,6 +128,11 @@ types:
|
|
|
124
128
|
(luvio.adapter):
|
|
125
129
|
name: createEmbeddings
|
|
126
130
|
|
|
131
|
+
/einstein/prompt-templates/{promptTemplateDevName}/status:
|
|
132
|
+
put:
|
|
133
|
+
(luvio.adapter):
|
|
134
|
+
name: putEinsteinPromptTemplateStatus
|
|
135
|
+
|
|
127
136
|
/einstein/prompt-templates/{promptTemplateDevName}/versions/{versionId}/status:
|
|
128
137
|
put:
|
|
129
138
|
(luvio.adapter):
|