@salesforce/lds-adapters-service-einsteinllm 1.380.0-dev16 → 1.380.0-dev18
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 +1334 -884
- package/dist/es/es2018/types/src/generated/adapters/getTemplateType.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/getEinsteinPromptTemplateTypesByTemplateTypeName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeRecordRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeSchemaInputFieldRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeSchemaRepresentation.d.ts +35 -0
- package/package.json +4 -4
- package/sfdc/index.js +1288 -830
- package/src/raml/api.raml +64 -0
- package/src/raml/luvio.raml +7 -0
package/src/raml/api.raml
CHANGED
|
@@ -686,6 +686,56 @@ types:
|
|
|
686
686
|
languageDisplayName:
|
|
687
687
|
description: Language Display Name
|
|
688
688
|
type: string
|
|
689
|
+
EinsteinPromptTypeRecordRepresentation:
|
|
690
|
+
description: Representation of a single Prompt Template Type
|
|
691
|
+
type: object
|
|
692
|
+
properties:
|
|
693
|
+
excludedGlobalVariables:
|
|
694
|
+
description: The list of excluded global variables
|
|
695
|
+
type: array
|
|
696
|
+
items:
|
|
697
|
+
type: string
|
|
698
|
+
schema:
|
|
699
|
+
description: The schema of the prompt template type
|
|
700
|
+
type: EinsteinPromptTypeSchemaRepresentation
|
|
701
|
+
templateTypeName:
|
|
702
|
+
description: The unique name of the prompt template type
|
|
703
|
+
type: string
|
|
704
|
+
EinsteinPromptTypeSchemaInputFieldRepresentation:
|
|
705
|
+
description: Representation of an input in the schema of Prompt Template Type
|
|
706
|
+
type: object
|
|
707
|
+
properties:
|
|
708
|
+
apiName:
|
|
709
|
+
description: The unique API name of the input
|
|
710
|
+
type: string
|
|
711
|
+
label:
|
|
712
|
+
description: The label of the input
|
|
713
|
+
type: string
|
|
714
|
+
required: false
|
|
715
|
+
referenceName:
|
|
716
|
+
description: The reference name of the input
|
|
717
|
+
type: string
|
|
718
|
+
required: false
|
|
719
|
+
typeDefinition:
|
|
720
|
+
description: The type definition of the input
|
|
721
|
+
type: string
|
|
722
|
+
required: false
|
|
723
|
+
EinsteinPromptTypeSchemaRepresentation:
|
|
724
|
+
description: Representation of the schema of a Prompt Template type
|
|
725
|
+
type: object
|
|
726
|
+
properties:
|
|
727
|
+
allowInputExtension:
|
|
728
|
+
description: Whether to allow input extension
|
|
729
|
+
type: boolean
|
|
730
|
+
inputs:
|
|
731
|
+
description: Inputs in this template type
|
|
732
|
+
type: array
|
|
733
|
+
items:
|
|
734
|
+
type: EinsteinPromptTypeSchemaInputFieldRepresentation
|
|
735
|
+
primaryObjectId:
|
|
736
|
+
description: The ID of the primary object in the template type
|
|
737
|
+
type: string
|
|
738
|
+
required: false
|
|
689
739
|
PromptTemplateDataProviderDiscoveryInputRepresentation:
|
|
690
740
|
description: Input for data provider discovery API to find available data providers
|
|
691
741
|
based on criteria
|
|
@@ -1239,6 +1289,20 @@ types:
|
|
|
1239
1289
|
promptTemplateDevName:
|
|
1240
1290
|
type: string
|
|
1241
1291
|
required: true
|
|
1292
|
+
/prompt-template-types/{templateTypeName}:
|
|
1293
|
+
get:
|
|
1294
|
+
displayName: getEinsteinPromptTemplateType
|
|
1295
|
+
description: Get A Prompt Type Configuration by templateTypeName
|
|
1296
|
+
responses:
|
|
1297
|
+
'200':
|
|
1298
|
+
description: Success
|
|
1299
|
+
body:
|
|
1300
|
+
application/json:
|
|
1301
|
+
type: EinsteinPromptTypeRecordRepresentation
|
|
1302
|
+
uriParameters:
|
|
1303
|
+
templateTypeName:
|
|
1304
|
+
type: string
|
|
1305
|
+
required: true
|
|
1242
1306
|
/prompt-template/{promptTemplateDevName}/output-languages:
|
|
1243
1307
|
get:
|
|
1244
1308
|
displayName: getEinsteinPromptTemplateOutputLanguages
|
package/src/raml/luvio.raml
CHANGED
|
@@ -42,6 +42,8 @@ types:
|
|
|
42
42
|
PromptTemplateDataProviderTypeConfigCollectionRepresentation:
|
|
43
43
|
(luvio.ttl): 300
|
|
44
44
|
(luvio.opaque): true
|
|
45
|
+
EinsteinPromptTypeRecordRepresentation:
|
|
46
|
+
(luvio.ttl): 300
|
|
45
47
|
|
|
46
48
|
/einstein/llm/prompt/generations:
|
|
47
49
|
post:
|
|
@@ -126,3 +128,8 @@ types:
|
|
|
126
128
|
put:
|
|
127
129
|
(luvio.adapter):
|
|
128
130
|
name: putEinsteinPromptTemplateVersionStatus
|
|
131
|
+
|
|
132
|
+
/einstein/prompt-template-types/{templateTypeName}:
|
|
133
|
+
get:
|
|
134
|
+
(luvio.adapter):
|
|
135
|
+
name: getTemplateType
|