@salesforce/lds-adapters-service-einsteinllm 1.354.0-dev22 → 1.354.0-dev24
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 +392 -124
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationCitationRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinLlmGenerationGenAiCitedReferenceRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinPromptTemplateGenerationsRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +365 -97
- package/src/raml/api.raml +43 -0
package/src/raml/api.raml
CHANGED
|
@@ -439,6 +439,10 @@ types:
|
|
|
439
439
|
description: Output of a einstein llm generations response for given prompt template
|
|
440
440
|
type: object
|
|
441
441
|
properties:
|
|
442
|
+
citations:
|
|
443
|
+
description: Generation Citations Mapping
|
|
444
|
+
required: false # TODO Hand-rolled W-19304625
|
|
445
|
+
type: EinsteinLlmGenerationCitationRepresentation
|
|
442
446
|
generationErrors:
|
|
443
447
|
description: generated prompt template generationErrors
|
|
444
448
|
type: array
|
|
@@ -490,6 +494,45 @@ types:
|
|
|
490
494
|
required: false # TODO Hand-rolled W-17552098
|
|
491
495
|
items:
|
|
492
496
|
type: EinsteinPromptTemplateAttachmentRepresentation
|
|
497
|
+
EinsteinLlmGenerationCitationRepresentation:
|
|
498
|
+
description: Output of a Einstein LLM Generation Citation output
|
|
499
|
+
type: object
|
|
500
|
+
properties:
|
|
501
|
+
citedReferences:
|
|
502
|
+
description: Cited References
|
|
503
|
+
required: false # TODO Hand-rolled W-19304625
|
|
504
|
+
type: array
|
|
505
|
+
items:
|
|
506
|
+
type: EinsteinLlmGenerationGenAiCitedReferenceRepresentation
|
|
507
|
+
EinsteinLlmGenerationGenAiCitedReferenceRepresentation:
|
|
508
|
+
description: Output of a Einstein LLM Generation Gen AI Citation output
|
|
509
|
+
type: object
|
|
510
|
+
properties:
|
|
511
|
+
citationLocations:
|
|
512
|
+
description: Array of locations where that particular citation needs to appear
|
|
513
|
+
in the input text
|
|
514
|
+
type: array
|
|
515
|
+
required: false # TODO Hand-rolled W-19304625
|
|
516
|
+
items:
|
|
517
|
+
type: integer
|
|
518
|
+
claims:
|
|
519
|
+
description: Matching chunk from the input text
|
|
520
|
+
type: array
|
|
521
|
+
required: false # TODO Hand-rolled W-19304625
|
|
522
|
+
items:
|
|
523
|
+
type: string
|
|
524
|
+
link:
|
|
525
|
+
description: Link
|
|
526
|
+
type: string
|
|
527
|
+
required: false # TODO Hand-rolled W-19304625
|
|
528
|
+
sourceObjectApiName:
|
|
529
|
+
description: SourceObjectApiName
|
|
530
|
+
type: string
|
|
531
|
+
required: false # TODO Hand-rolled W-19304625
|
|
532
|
+
sourceObjectRecordId:
|
|
533
|
+
description: SourceObjectRecordId
|
|
534
|
+
type: string
|
|
535
|
+
required: false # TODO Hand-rolled W-19304625
|
|
493
536
|
EinsteinPromptTemplateAttachmentRepresentation:
|
|
494
537
|
description: Representation of file data for prompt template attachments
|
|
495
538
|
type: object
|