Update a citation for a keyterm prompt test result

patch

/api/boss/data/objects/ora/cxSalesCommon/keyterms/v1/keyterms/{keyterms_id}/prompts/{keyterms-prompts_id}/testResults/{keyterms-prompts-testResults_id}/citations/{keyterms-prompts-testResults-citations_id}

Request

Path Parameters
Query Parameters
  • The effective date value in ISO 8601 date format 'YYYY-MM-DD'. This date is required by business logic to search for effective-dated business objects.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match All
Show Source
Nested Schema : oraCxSalesCommonKeyterms.PromptTestCitation_patch-item
Match All
Show Source
Nested Schema : oraCxSalesCommonKeyterms.PromptTestCitation_item
Match All
Citation is the part of the source document that's referenced by the large language model to get a response.
Show Source
Nested Schema : oraCxSalesCommonKeyterms.PromptTestCitation_item-fields
Type: object
Show Source
Nested Schema : Citation
Type: object
Title: Citation
Citation is the part of the source document that's referenced by the large language model to get a response.
Nested Schema : oraCxSalesCommonKeyterms.PromptTestCitation_patch-item-allOf[1]
Type: object
Show Source
Nested Schema : __busObj_context
Type: object
Show Source
Nested Schema : testResult
Match All
Show Source
Nested Schema : oraCxSalesCommonKeyterms.PromptTestResult_item
Match All
Prompt test result includes information about the response provided by the large language model for a specific prompt.
Show Source
Nested Schema : oraCxSalesCommonKeyterms.PromptTestResult_item-fields
Type: object
Show Source
Nested Schema : Prompt Test Result
Type: object
Title: Prompt Test Result
Prompt test result includes information about the response provided by the large language model for a specific prompt.
Nested Schema : testResult-allOf[2]
Type: object
Nested Schema : prompt
Match All
Show Source
Nested Schema : oraCxSalesCommonKeyterms.KeytermPrompt_item
Match All
Key term prompt is the question that's used in a large language model to extract a certain key term from contract documents.
Show Source
Nested Schema : oraCxSalesCommonKeyterms.KeytermPrompt_item-fields
Type: object
Show Source
Nested Schema : Key Term Prompt
Type: object
Title: Key Term Prompt
Key term prompt is the question that's used in a large language model to extract a certain key term from contract documents.
Nested Schema : prompt-allOf[2]
Type: object
Nested Schema : keyterm
Match All
Show Source
Nested Schema : status
Match All
Show Source
  • Title: Status
    Default Value: ORA_OKC_DRAFT
  • Allowed Values: [ "ORA_OKC_DRAFT", "ORA_OKC_ACTIVE", "ORA_OKC_INACTIVE" ]
Nested Schema : oraCxSalesCommonKeyterms.Keyterm_item
Match All
Key term is the metadata present in the contract documents. The key terms to be extracted for each contract type is defined in the application with the corresponding prompts to be used for extraction.
Show Source
Nested Schema : oraCxSalesCommonKeyterms.Keyterm_item-fields
Type: object
Show Source
Nested Schema : Key Term
Type: object
Title: Key Term
Key term is the metadata present in the contract documents. The key terms to be extracted for each contract type is defined in the application with the corresponding prompts to be used for extraction.
Nested Schema : keyterm-allOf[2]
Type: object
Nested Schema : group
Match All
Show Source
Nested Schema : outputType
Match All
Show Source
  • Title: Output Type
  • Allowed Values: [ "ORA_OKC_TEXT", "ORA_OKC_NUMBER", "ORA_OKC_DATE" ]
Nested Schema : oraCxSalesCommonKeyterms.KeytermGroupLookup_item-fields
Match All
Show Source
Nested Schema : oraCommonAppsInfraObjects.LookupCode_abstract-item
Type: object
Show Source
Nested Schema : oraCxSalesCommonKeyterms.KeytermGroupLookup_item-fields-allOf[1]
Type: object
Show Source
Nested Schema : Group
Type: object
Title: Group
Nested Schema : $context
Type: object
Show Source
Nested Schema : testResult
Match One Schema
Show Source
Nested Schema : testResult-oneOf[0]
Type: object
Show Source
Nested Schema : testResult-oneOf[2]
Type: object
Back to Top

Response

Default Response

no content
Back to Top

Examples

The following example shows how to update a citation for a keyterm prompt test result by submitting a patch request on the REST resource using cURL.

cURL Command

curl -X PATCH --location 'https://<servername>/api/boss/data/objects/ora/cxSalesCommon/keyterms/v1/$en/keyterms/{keyterms_id}/prompts/{keyterms-prompts_id}/testResults/{keyterms-prompts-testResults_id}/citations/{keyterms-prompts-testResults-citations_id}' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <token>' -D @request.json

Example of Request Body

The following shows an example of the request body in JSON format.

{
    "sequenceNumber":12,
    "citation":"Updated Placeholder Text where prompt is present",
    "$context":{
        "etag":"2"
    }
}

Example of Response Body

The following shows an example of the response body in JSON format.

204 Updated
Back to Top