@salesforce/lds-adapters-service-einsteinllm 1.354.0-dev1 → 1.354.0-dev10
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 +204 -124
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentExclusionInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +177 -97
- package/src/raml/api.raml +14 -0
package/src/raml/api.raml
CHANGED
|
@@ -484,6 +484,10 @@ types:
|
|
|
484
484
|
description: Representation of file data for prompt template attachments
|
|
485
485
|
type: object
|
|
486
486
|
properties:
|
|
487
|
+
exclusionInfo:
|
|
488
|
+
description: data for file exclusion from LLM request
|
|
489
|
+
type: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation
|
|
490
|
+
required: false # TODO Hand-rolled W-18581584
|
|
487
491
|
id:
|
|
488
492
|
description: ContentDocument Id of file attached to prompt template
|
|
489
493
|
type: string
|
|
@@ -496,6 +500,16 @@ types:
|
|
|
496
500
|
latestPublishedVersion:
|
|
497
501
|
description: ContentVersion of the latest published version of the file attachment
|
|
498
502
|
type: string
|
|
503
|
+
EinsteinPromptTemplateAttachmentExclusionInfoRepresentation:
|
|
504
|
+
description: Representation for info of file exclusion from LLM requests
|
|
505
|
+
type: object
|
|
506
|
+
properties:
|
|
507
|
+
exclusionReason:
|
|
508
|
+
description: Reason for file exclusion from LLM request
|
|
509
|
+
type: string
|
|
510
|
+
isExcluded:
|
|
511
|
+
description: true if the file is excluded from LLM request, false otherwise
|
|
512
|
+
type: boolean
|
|
499
513
|
EinsteinPromptTemplateMaskContentRepresentation:
|
|
500
514
|
description: Output of a einstein mask data request and response for given prompt template
|
|
501
515
|
type: object
|