@salesforce/lds-adapters-service-einsteinllm 1.384.0 → 1.386.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 +853 -460
- package/dist/es/es2018/types/src/generated/adapters/getDataProviderTypeConfigs.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataProviders.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProviderTypesByTemplateType.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getEinsteinPromptTemplatesDataProvidersByTemplateType.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigCollectionRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/PromptTemplateDataProviderTypeConfigRepresentation.d.ts +46 -0
- package/package.json +4 -4
- package/sfdc/index.js +890 -477
- package/src/raml/api.raml +98 -15
- package/src/raml/luvio.raml +13 -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/v66.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -831,6 +831,45 @@ types:
|
|
|
831
831
|
label:
|
|
832
832
|
description: The label of the output parameter
|
|
833
833
|
type: string
|
|
834
|
+
PromptTemplateDataProviderTypeConfigCollectionRepresentation:
|
|
835
|
+
description: Collection of data provider type configurations for a prompt template
|
|
836
|
+
type
|
|
837
|
+
type: object
|
|
838
|
+
properties:
|
|
839
|
+
dataProviderTypeConfigs:
|
|
840
|
+
description: List of data provider type configs
|
|
841
|
+
type: array
|
|
842
|
+
items:
|
|
843
|
+
type: PromptTemplateDataProviderTypeConfigRepresentation
|
|
844
|
+
PromptTemplateDataProviderTypeConfigRepresentation:
|
|
845
|
+
description: Output representation of a data provider type configuration
|
|
846
|
+
type: object
|
|
847
|
+
properties:
|
|
848
|
+
description:
|
|
849
|
+
description: The localized description of the data provider type
|
|
850
|
+
type: string
|
|
851
|
+
required: false # TODO Hand-rolled W-19333313
|
|
852
|
+
groupName:
|
|
853
|
+
description: The group name of the data provider type
|
|
854
|
+
type: string
|
|
855
|
+
icon:
|
|
856
|
+
description: The icon identifier for the data provider type
|
|
857
|
+
type: string
|
|
858
|
+
isTopLevel:
|
|
859
|
+
description: Indicates whether this is a top level data provider type
|
|
860
|
+
type: boolean
|
|
861
|
+
label:
|
|
862
|
+
description: The localized label of the data provider type
|
|
863
|
+
type: string
|
|
864
|
+
parentNode:
|
|
865
|
+
description: The parent node identifier for hierarchical data provider types
|
|
866
|
+
type: string
|
|
867
|
+
required: false # TODO Hand-rolled W-19333313
|
|
868
|
+
scope:
|
|
869
|
+
description: The scope configuration for the data provider type (can be 'ALL'
|
|
870
|
+
or list of specific scopes)
|
|
871
|
+
type: any # TODO Hand-rolled W-19333313, scope can be a string, list of string, or just "ALL"
|
|
872
|
+
required: false # TODO Hand-rolled W-19333313
|
|
834
873
|
EinsteinPromptTemplateVersionOutputLanguagesRepresentation:
|
|
835
874
|
description: Representation of all supported output languages for a given Prompt
|
|
836
875
|
Template Version
|
|
@@ -990,20 +1029,50 @@ types:
|
|
|
990
1029
|
application/json:
|
|
991
1030
|
type: EinsteinPromptRecordInputRepresentation
|
|
992
1031
|
(oas-body-name): templateInput
|
|
993
|
-
/prompt-templates/data-providers
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1032
|
+
/prompt-templates/data-providers:
|
|
1033
|
+
/mapped:
|
|
1034
|
+
post:
|
|
1035
|
+
displayName: postDataProviderInputMatchDiscovery
|
|
1036
|
+
description: Get Data Provider Discovery Info List
|
|
1037
|
+
responses:
|
|
1038
|
+
'200':
|
|
1039
|
+
description: Success
|
|
1040
|
+
body:
|
|
1041
|
+
application/json:
|
|
1042
|
+
type: PromptTemplateDataProviderInstanceConfigCollectionRepresentation
|
|
1043
|
+
body:
|
|
1044
|
+
application/json:
|
|
1045
|
+
type: PromptTemplateDataProviderDiscoveryInputRepresentation
|
|
1046
|
+
(oas-body-name): dataProviderDiscoveryInput
|
|
1047
|
+
/{templateType}:
|
|
1048
|
+
get:
|
|
1049
|
+
displayName: getPromptTemplateDataProviderDiscovery
|
|
1050
|
+
description: Discover available data providers for prompt templates
|
|
1051
|
+
responses:
|
|
1052
|
+
'200':
|
|
1053
|
+
description: Success
|
|
1054
|
+
body:
|
|
1055
|
+
application/json:
|
|
1056
|
+
type: PromptTemplateDataProviderInstanceConfigCollectionRepresentation
|
|
1057
|
+
queryParameters:
|
|
1058
|
+
groupNames:
|
|
1059
|
+
description: The group names for data provider discovery
|
|
1060
|
+
type: array
|
|
1061
|
+
required: false
|
|
1062
|
+
items:
|
|
1063
|
+
type: string
|
|
1064
|
+
(oas-collectionFormat): csv
|
|
1065
|
+
targets:
|
|
1066
|
+
description: The scoped targets for data provider discovery
|
|
1067
|
+
type: array
|
|
1068
|
+
required: false
|
|
1069
|
+
items:
|
|
1070
|
+
type: string
|
|
1071
|
+
(oas-collectionFormat): csv
|
|
1072
|
+
uriParameters:
|
|
1073
|
+
templateType:
|
|
1074
|
+
type: string
|
|
1075
|
+
required: true
|
|
1007
1076
|
/prompt-templates/data-provider/describe:
|
|
1008
1077
|
post:
|
|
1009
1078
|
displayName: postPromptTemplateDataProviderInstanceConfig
|
|
@@ -1018,6 +1087,20 @@ types:
|
|
|
1018
1087
|
application/json:
|
|
1019
1088
|
type: PromptTemplateDataProviderInstanceConfigInputRepresentation
|
|
1020
1089
|
(oas-body-name): dataProviderInstanceConfigInput
|
|
1090
|
+
/prompt-templates/data-provider-types/{templateType}:
|
|
1091
|
+
get:
|
|
1092
|
+
displayName: getPromptTemplateDataProviderTypeConfig
|
|
1093
|
+
description: Get available data provider types for the specified template type
|
|
1094
|
+
responses:
|
|
1095
|
+
'200':
|
|
1096
|
+
description: Success
|
|
1097
|
+
body:
|
|
1098
|
+
application/json:
|
|
1099
|
+
type: PromptTemplateDataProviderTypeConfigCollectionRepresentation
|
|
1100
|
+
uriParameters:
|
|
1101
|
+
templateType:
|
|
1102
|
+
type: string
|
|
1103
|
+
required: true
|
|
1021
1104
|
/prompt-templates/{promptTemplateDevName}:
|
|
1022
1105
|
get:
|
|
1023
1106
|
displayName: getEinsteinPromptTemplate
|
package/src/raml/luvio.raml
CHANGED
|
@@ -39,6 +39,9 @@ types:
|
|
|
39
39
|
PromptTemplateDataProviderInstanceConfigRepresentation:
|
|
40
40
|
(luvio.ttl): 300
|
|
41
41
|
(luvio.opaque): true
|
|
42
|
+
PromptTemplateDataProviderTypeConfigCollectionRepresentation:
|
|
43
|
+
(luvio.ttl): 300
|
|
44
|
+
(luvio.opaque): true
|
|
42
45
|
|
|
43
46
|
/einstein/llm/prompt/generations:
|
|
44
47
|
post:
|
|
@@ -67,6 +70,16 @@ types:
|
|
|
67
70
|
(luvio.adapter):
|
|
68
71
|
name: getDataProviderInstanceConfig
|
|
69
72
|
|
|
73
|
+
/einstein/prompt-templates/data-providers/{templateType}:
|
|
74
|
+
get:
|
|
75
|
+
(luvio.adapter):
|
|
76
|
+
name: getDataProviders
|
|
77
|
+
|
|
78
|
+
/einstein/prompt-templates/data-provider-types/{templateType}:
|
|
79
|
+
get:
|
|
80
|
+
(luvio.adapter):
|
|
81
|
+
name: getDataProviderTypeConfigs
|
|
82
|
+
|
|
70
83
|
/einstein/prompt-templates/{promptTemplateDevName}:
|
|
71
84
|
get:
|
|
72
85
|
(luvio.adapter):
|