Loading
Общие сведения о Salesforce Data 360
Примеры схем на основе искусственного интеллекта
  1. Справка Salesforce
  2. Документы
  3. Data 360

Примеры схем на основе искусственного интеллекта

Ниже перечислены схемы в формате JSON, которые можно использовать при создании конфигурации искусственного интеллекта документа в Data Cloud. Используйте эти примеры в качестве отправной точки или измените их для определенных способов использования.

Отчет лаборатории

Создайте ООД вывода из отчета лаборатории патологии.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Pathology Report Schema",
  "properties": {
    "lab_name": {
      "type": "string",
      "description": "Name of the pathology lab"
    },
    "lab_contact": {
      "type": "string",
      "description": "Contact number of the lab"
    },
    "lab_email": {
      "type": "string",
      "description": "Email address of the lab"
    },
    "lab_address": {
      "type": "string",
      "description": "Full address of the lab"
    },
    "lab_website": {
      "type": "string",
      "description": "Website URL of the lab"
    },
    "patient_name": {
      "type": "string",
      "description": "Name of the patient"
    },
    "patient_age": {
      "type": "string",
      "description": "Age of the patient"
    },
    "patient_sex": {
      "type": "string",
      "description": "Sex of the patient"
    },
    "patient_id": {
      "type": "string",
      "description": "Patient identification number"
    },
    "sample_collection_address": {
      "type": "string",
      "description": "Address where the sample was collected"
    },
    "referred_by": {
      "type": "string",
      "description": "Name of the referring doctor"
    },
    "registration_date": {
      "type": "string",
      "description": "Date and time of registration"
    },
    "collection_date": {
      "type": "string",
      "description": "Date and time of sample collection"
    },
    "report_date": {
      "type": "string",
      "description": "Date and time of report generation"
    },
    "test_name": {
      "type": "string",
      "description": "Name of the test conducted"
    },
    "test_result": {
      "type": "number",
      "description": "Result value of the test"
    },
    "result_remarks": {
      "type": "string",
      "description": "Remarks based on the test result"
    },
    "reference_value": {
      "type": "string",
      "description": "Reference value for the test"
    },
    "unit": {
      "type": "string",
      "description": "Unit of measurement for the result"
    },
    "interpretation_table": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Table for interpretation of results",
        "properties": {
          "result_index": {
            "type": "string",
            "description": "Range of result index"
          },
          "remarks": {
            "type": "string",
            "description": "Remarks corresponding to the index range"
          }
        }
      },
      "description": "Table for interpretation of results"
    },
    "comments": {
      "type": "string",
      "description": "Additional comments about the test"
    },
    "report_signatories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "signatory_name_role": {
            "type": "string",
            "description": "This is name of the signature along with any salutation"
          },
          "signatory_qualification": {
            "type": "string",
            "description": "These are any of the qualifications or title associated with the signatory"
          }
        }
      }
    }
  }
}

Счет

Создайте ООД вывода из счета.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object", 
  "title": "Invoice Schema",
  "properties": {
    "VendorName": {
      "type": "string",
      "description": "Name of the vendor issuing the invoice"
    },
    "Vendor Address": {
      "type": "string",
      "description": "Full address of the vendor"
    },
    "Vendor Phone number": {
      "type": "string",
      "description": "Phone number"
    },
    "Billing Address": {
      "type": "string",
      "description": "Full name and address of the billing entity"
    },
    "Product Item List": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Table containing the list of products",
        "properties": {
          "Item ID": {
            "type": "string",
            "description": "Item id"
          },
          "Item Description": {
            "type": "string",
            "description": "Full description for the item"
          },
          "Quantity": {
            "type": "number",
            "description": "Number of items"
          },
          "Unit Price": {
            "type": "number"
          },
          "Line total": {
            "type": "number",
            "description": "Line total for the product line item"
          }
        }
      },
      "description": "Table containing the list of products"
    },
    "Total amount": {
      "type": "number"
    }
  }
}

Возобновление

Создайте ООД вывода из резюме.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Resume Schema",
  "properties": {
    "Candidate First Name": {
      "type": "string",
      "description": "Candidate's first name"
    },
    "Candidate Surname": {
      "type": "string",
      "description": "Candidate's surname. Include the rest of the name apart from the title and first name. Include any initials."
    },
    "Candidate Title": {
      "type": "string",
      "description": "Title of the candidate. Generally comes before their name"
    },
    "Candidate Address line 1": {
      "type": "string",
      "description": "Address line 1 of the candidate"
    },
    "Candidate Address line 2": {
      "type": "string",
      "description": "Address line 2 of the candidate"
    },
    "Candidate City": {
      "type": "string",
      "description": "City name of the candidate (Use current residential address)"
    },
    "Candidate State": {
      "type": "string",
      "description": "State name of the candidate (Use current residential address)"
    },
    "Candidate's country": {
      "type": "string",
      "description": "Country name of the candidate (Use current residential address)"
    },
    "Candidate's pincode": {
      "type": "string",
      "description": "Pincode of the candidate (Use current residential address)"
    },
    "Candidate Phone number": {
      "type": "string"
    },
    "Candidate's academic record": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Name of institution": {
            "type": "string"
          },
          "Name of the program or degree": {
            "type": "string",
            "description": "Full details of the academic program including degree name and specialization"
          },
          "Description of the program": {
            "type": "string"
          },
          "Duration of program": {
            "type": "string",
            "description": "Contains start and end year/month"
          }
        }
      }
    },
    "Candidate's work experience": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Organization name": {
            "type": "string"
          },
          "Duration of tenure": {
            "type": "string",
            "description": "Contains start and end year/month"
          },
          "Role": {
            "type": "string"
          }
        }
      }
    }
  }
}
 
Загрузка
Salesforce Help | Article