@salesforce/lds-adapters-service-einsteinllm 1.451.0-dev2 → 1.451.0-dev4
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 +618 -387
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentRepresentation.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeModelAffinityRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTypeRecordRepresentation.d.ts +11 -1
- package/package.json +3 -3
- package/sfdc/index.js +633 -402
- package/src/raml/api.raml +39 -0
package/src/raml/api.raml
CHANGED
|
@@ -605,6 +605,14 @@ types:
|
|
|
605
605
|
description: ParentName of the file attachment
|
|
606
606
|
type: string
|
|
607
607
|
required: false # TODO Hand-rolled W-17793327
|
|
608
|
+
transformationInfo:
|
|
609
|
+
description: Type of transformation applied to the file before it was sent
|
|
610
|
+
to the model, such as conversion to PDF
|
|
611
|
+
type: object
|
|
612
|
+
properties:
|
|
613
|
+
//:
|
|
614
|
+
type: string
|
|
615
|
+
required: false
|
|
608
616
|
EinsteinPromptTemplateAttachmentExclusionInfoRepresentation:
|
|
609
617
|
description: Representation for info of file exclusion from LLM requests
|
|
610
618
|
type: object
|
|
@@ -776,15 +784,46 @@ types:
|
|
|
776
784
|
languageDisplayName:
|
|
777
785
|
description: Language Display Name
|
|
778
786
|
type: string
|
|
787
|
+
EinsteinPromptTypeModelAffinityRepresentation:
|
|
788
|
+
description: Representation of the model affinity of a Prompt Template type
|
|
789
|
+
type: object
|
|
790
|
+
properties:
|
|
791
|
+
preferredCapabilities:
|
|
792
|
+
description: The capabilities preferred by the template type
|
|
793
|
+
type: array
|
|
794
|
+
items:
|
|
795
|
+
type: string
|
|
796
|
+
required: false
|
|
797
|
+
requiredCapabilities:
|
|
798
|
+
description: The capabilities required by the template type
|
|
799
|
+
type: array
|
|
800
|
+
items:
|
|
801
|
+
type: string
|
|
802
|
+
required: false
|
|
779
803
|
EinsteinPromptTypeRecordRepresentation:
|
|
780
804
|
description: Representation of a single Prompt Template Type
|
|
781
805
|
type: object
|
|
782
806
|
properties:
|
|
807
|
+
allowActions:
|
|
808
|
+
description: Whether templates of this type may invoke actions
|
|
809
|
+
type: boolean
|
|
810
|
+
required: false
|
|
811
|
+
allowedInputTypes:
|
|
812
|
+
description: The list of input-type classifications this template type may
|
|
813
|
+
use
|
|
814
|
+
type: array
|
|
815
|
+
items:
|
|
816
|
+
type: string
|
|
817
|
+
required: false
|
|
783
818
|
excludedGlobalVariables:
|
|
784
819
|
description: The list of excluded global variables
|
|
785
820
|
type: array
|
|
786
821
|
items:
|
|
787
822
|
type: string
|
|
823
|
+
modelAffinity:
|
|
824
|
+
description: The model affinity of the prompt template type
|
|
825
|
+
type: EinsteinPromptTypeModelAffinityRepresentation
|
|
826
|
+
required: false
|
|
788
827
|
schema:
|
|
789
828
|
description: The schema of the prompt template type
|
|
790
829
|
type: EinsteinPromptTypeSchemaRepresentation
|