@salesforce/lds-adapters-service-einsteinllm 1.415.0 → 1.416.1
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 +944 -693
- package/dist/es/es2018/types/src/generated/adapters/getEinsteinPromptTemplateReferences.d.ts +27 -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 +3 -1
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesReferencesByPromptTemplateDevName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateReferencesRepresentation.d.ts +50 -0
- package/package.json +4 -4
- package/sfdc/index.js +875 -612
- package/src/raml/api.raml +48 -0
- package/src/raml/luvio.raml +8 -0
package/src/raml/api.raml
CHANGED
|
@@ -717,6 +717,40 @@ types:
|
|
|
717
717
|
type: array
|
|
718
718
|
items:
|
|
719
719
|
type: string
|
|
720
|
+
EinsteinPromptTemplateReferencesRepresentation:
|
|
721
|
+
description: Representation for prompt template references response
|
|
722
|
+
type: object
|
|
723
|
+
properties:
|
|
724
|
+
additionalData?: # TODO Hand-rolled W-20775798
|
|
725
|
+
description: Additional data, such as references
|
|
726
|
+
type: WrappedMap
|
|
727
|
+
errorMessages:
|
|
728
|
+
description: Error Messages
|
|
729
|
+
type: array
|
|
730
|
+
items:
|
|
731
|
+
type: string
|
|
732
|
+
hasWarning:
|
|
733
|
+
description: has warning messages
|
|
734
|
+
type: boolean
|
|
735
|
+
isSuccessful:
|
|
736
|
+
description: IsSuccessful
|
|
737
|
+
type: boolean
|
|
738
|
+
statusCode:
|
|
739
|
+
description: Status Code of connect api
|
|
740
|
+
type: string
|
|
741
|
+
required: false # TODO Hand-rolled W-20775798
|
|
742
|
+
templateId:
|
|
743
|
+
description: Template Id
|
|
744
|
+
type: string
|
|
745
|
+
templateType:
|
|
746
|
+
description: Template Type
|
|
747
|
+
type: string
|
|
748
|
+
required: false # TODO Hand-rolled W-20775798
|
|
749
|
+
warningMessages:
|
|
750
|
+
description: Warning Messages
|
|
751
|
+
type: array
|
|
752
|
+
items:
|
|
753
|
+
type: string
|
|
720
754
|
EinsteinPromptTemplateSupportedLanguageErrorRepresentation:
|
|
721
755
|
description: Representation of an error encountered when returning the Prompt Template Version Supported Languages.
|
|
722
756
|
type: object
|
|
@@ -1355,6 +1389,20 @@ types:
|
|
|
1355
1389
|
promptTemplateDevName:
|
|
1356
1390
|
type: string
|
|
1357
1391
|
required: true
|
|
1392
|
+
/references:
|
|
1393
|
+
get:
|
|
1394
|
+
displayName: getEinsteinPromptTemplateReferences
|
|
1395
|
+
description: Get references to a Prompt Template by prompttemplate developer name or id
|
|
1396
|
+
responses:
|
|
1397
|
+
'200':
|
|
1398
|
+
description: Success
|
|
1399
|
+
body:
|
|
1400
|
+
application/json:
|
|
1401
|
+
type: EinsteinPromptTemplateReferencesRepresentation
|
|
1402
|
+
uriParameters:
|
|
1403
|
+
promptTemplateDevName:
|
|
1404
|
+
type: string
|
|
1405
|
+
required: true
|
|
1358
1406
|
/versions:
|
|
1359
1407
|
get:
|
|
1360
1408
|
displayName: getEinsteinPromptTemplateVersions
|
package/src/raml/luvio.raml
CHANGED
|
@@ -33,6 +33,9 @@ types:
|
|
|
33
33
|
(luvio.ttl): 100
|
|
34
34
|
(luvio.key):
|
|
35
35
|
versionId: versionId
|
|
36
|
+
EinsteinPromptTemplateReferencesRepresentation:
|
|
37
|
+
(luvio.ttl): 100
|
|
38
|
+
(luvio.opaque): true
|
|
36
39
|
EinsteinPromptTemplateStatusRepresentation:
|
|
37
40
|
(luvio.ttl): 100
|
|
38
41
|
(luvio.key):
|
|
@@ -133,6 +136,11 @@ types:
|
|
|
133
136
|
(luvio.adapter):
|
|
134
137
|
name: putEinsteinPromptTemplateStatus
|
|
135
138
|
|
|
139
|
+
/einstein/prompt-templates/{promptTemplateDevName}/references:
|
|
140
|
+
get:
|
|
141
|
+
(luvio.adapter):
|
|
142
|
+
name: getEinsteinPromptTemplateReferences
|
|
143
|
+
|
|
136
144
|
/einstein/prompt-templates/{promptTemplateDevName}/versions/{versionId}/status:
|
|
137
145
|
put:
|
|
138
146
|
(luvio.adapter):
|