@salesforce/lds-adapters-service-einsteinllm 1.354.0-dev2 → 1.354.0-dev21
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 +276 -125
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentExclusionInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateAttachmentRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsRepresentation.d.ts +8 -1
- package/package.json +4 -4
- package/sfdc/index.js +249 -98
- package/src/raml/api.raml +28 -0
package/src/raml/api.raml
CHANGED
|
@@ -431,6 +431,10 @@ types:
|
|
|
431
431
|
description: LLM Provider
|
|
432
432
|
type: string
|
|
433
433
|
required: false # TODO Hand-rolled W-9314597
|
|
434
|
+
showGroundingMetadataInResolvedPrompt:
|
|
435
|
+
description: When this flag is true, mergeFieldInformation will be added to the LLM Generations Response output, which will be used to show annotations in the resolved prompt.
|
|
436
|
+
type: boolean
|
|
437
|
+
required: false # TODO Hand-rolled W-18853661
|
|
434
438
|
EinsteinPromptTemplateGenerationsRepresentation:
|
|
435
439
|
description: Output of a einstein llm generations response for given prompt template
|
|
436
440
|
type: object
|
|
@@ -469,6 +473,12 @@ types:
|
|
|
469
473
|
type: array
|
|
470
474
|
items:
|
|
471
475
|
type: EinsteinPromptTemplateMaskContentRepresentation
|
|
476
|
+
mergeFieldInformation?: # TODO Hand-rolled W-18853661
|
|
477
|
+
description: merge field information mapping used for annotations in the resolved prompt
|
|
478
|
+
type: object
|
|
479
|
+
properties:
|
|
480
|
+
//:
|
|
481
|
+
type: any
|
|
472
482
|
slotsMaskingInformation?: # TODO Hand-rolled W-15709657
|
|
473
483
|
description: generated prompt template slotsMaskingInformation
|
|
474
484
|
type: array
|
|
@@ -484,6 +494,10 @@ types:
|
|
|
484
494
|
description: Representation of file data for prompt template attachments
|
|
485
495
|
type: object
|
|
486
496
|
properties:
|
|
497
|
+
exclusionInfo:
|
|
498
|
+
description: data for file exclusion from LLM request
|
|
499
|
+
type: EinsteinPromptTemplateAttachmentExclusionInfoRepresentation
|
|
500
|
+
required: false # TODO Hand-rolled W-18581584
|
|
487
501
|
id:
|
|
488
502
|
description: ContentDocument Id of file attached to prompt template
|
|
489
503
|
type: string
|
|
@@ -496,6 +510,20 @@ types:
|
|
|
496
510
|
latestPublishedVersion:
|
|
497
511
|
description: ContentVersion of the latest published version of the file attachment
|
|
498
512
|
type: string
|
|
513
|
+
parentName:
|
|
514
|
+
description: ParentName of the file attachment
|
|
515
|
+
type: string
|
|
516
|
+
required: false # TODO Hand-rolled W-17793327
|
|
517
|
+
EinsteinPromptTemplateAttachmentExclusionInfoRepresentation:
|
|
518
|
+
description: Representation for info of file exclusion from LLM requests
|
|
519
|
+
type: object
|
|
520
|
+
properties:
|
|
521
|
+
exclusionReason:
|
|
522
|
+
description: Reason for file exclusion from LLM request
|
|
523
|
+
type: string
|
|
524
|
+
isExcluded:
|
|
525
|
+
description: true if the file is excluded from LLM request, false otherwise
|
|
526
|
+
type: boolean
|
|
499
527
|
EinsteinPromptTemplateMaskContentRepresentation:
|
|
500
528
|
description: Output of a einstein mask data request and response for given prompt template
|
|
501
529
|
type: object
|