Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Extraction Context Mapping Input

Input representation of a extraction context mapping.
JSON example
1{
2  "ContextUsecaseMapping": {
3    "templateName": "ContractExtractionTemplate",
4    "contextDefinitionDeveloperName": "ContractExtractionContextDefinition",
5    "mappingName": "ContractExtractionMappingName",
6    "targetObject": "Contract",
7    "recordType": "CLM",
8    "additionalUseCaseInput": "{\"ModelName\":\"OpenAI\"}"
9  },
10  "contextAttributeMapping": [
11    {
12      "attributeId": "11nxx000001hOozAAE",
13      "description": "extract startDate from the document"
14    },
15    {
16      "attributeId": "11nxx000001hOozAAV",
17      "description": "extract startDate from the document"
18    },
19    {
20      "attributeId": "11nxx000001hOozAAR",
21      "description": "extract startDate from the document"
22    }
23  ]
24}
Properties
Name Type Description Required or Optional Available Version
context​AttributeMapping Extraction Context Attribute Mapping Input[] List of attributes and their mappings. Yes 61.0
context​UseCase​Mapping Extraction Context Use Case Mapping Input Details of the use case for which the mapping is defined. Yes 61.0