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

Output representation of extraction context mapping.
Sample Response
1{
2  "contextUseCaseMapping": {
3    "templateName": "ContractExtractionTemplate",
4    "targetObject": "Contract",
5    "recordType": "CLM",
6    "contextDefinitionName": {
7      "id": "11Oxx0000007MnhEAE",
8      "developerName": "David Taylor",
9      "name": "Dav"
10    },
11    "contextMapping": {
12      "id": "11Oxx0000007MnhEAE",
13      "name": "David Taylor"
14    },
15    "additionalUseCaseInput": "{\"ModelName\":\"OpenAI\"}"
16  },
17  "contextAttributeMapping": [
18    {
19      "attributeName": "ContractName",
20      "attributeId": "11nxx000001hOozAAE",
21      "targetObjectField": "Contract",
22      "description": "extract startDate from the document",
23      "isCustom": false
24    },
25    {
26      "attributeName": "ContractCustomField",
27      "attributeId": "11nxx000001hOozAAE",
28      "targetObjectField": "Contract",
29      "description": "extract startDate from the document",
30      "isCustom": true
31    },
32    {
33      "attributeName": "Description",
34      "attributeId": "11nxx000001hOozAAE",
35      "targetObjectField": "Contract",
36      "description": "extract startDate from the document",
37      "isCustom": false
38    }
39  ],
40  "isSuccess": true,
41  "contextUseCaseMappingId": "ContextUseCaseMappingId"
42}
Property Name Type Description Filter Group and Version Available Version
context​Attribute​Mapping Context Attribute Mapping[] List of extraction context attribute mappings.. Small, 61.0 61.0
context​UseCase​Mapping Extraction Context Use Case Mapping Details of extraction context use case mapping. Small, 61.0 61.0
context​UseCase​Mapping​Id String Record ID of the context use case mapping. Small, 61.0 61.0
isSuccess Boolean Indicates whether the retrieval of mapping was successful (true) or not false. Small, 61.0 61.0