mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
88 lines
4.2 KiB
JSON
88 lines
4.2 KiB
JSON
|
|
{
|
|||
|
|
"sections": [
|
|||
|
|
"title",
|
|||
|
|
"description",
|
|||
|
|
"fields",
|
|||
|
|
"special_access_rules",
|
|||
|
|
"associated_objects"
|
|||
|
|
],
|
|||
|
|
"title": "AIResearchPromptResult - Data API",
|
|||
|
|
"description": "Represents the research result generated by Agentforce or by a generative AI feature from a standard or custom prompt template. This object is available in API version 64.0 and later.",
|
|||
|
|
"fields_columns": [
|
|||
|
|
"type",
|
|||
|
|
"properties",
|
|||
|
|
"description",
|
|||
|
|
"relationship_name",
|
|||
|
|
"refers_to"
|
|||
|
|
],
|
|||
|
|
"fields": {
|
|||
|
|
"AiGenActionItemId": {
|
|||
|
|
"type": "reference",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The business action suggested by generative AI. This field is a polymorphic relationship field.",
|
|||
|
|
"relationship_name": "AiGenActionItem",
|
|||
|
|
"refers_to": "AiGenActionItem"
|
|||
|
|
},
|
|||
|
|
"IsToxicityDetected": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "Specifies whether the generated response contains toxic language (true) or not (false). The default value is false."
|
|||
|
|
},
|
|||
|
|
"LatestErrorMessage": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The error message that displays if the result can't be generated."
|
|||
|
|
},
|
|||
|
|
"LatestGenResponseIdRef": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The ID of the most recently generated result in the GenAIGeneration object. The object is derived from the Data Cloud data model object (DMO)."
|
|||
|
|
},
|
|||
|
|
"LatestGenerationDate": {
|
|||
|
|
"type": "dateTime",
|
|||
|
|
"properties": "Create, Filter, Nillable, Sort, Update",
|
|||
|
|
"description": "The date and time that the result was most recently generated."
|
|||
|
|
},
|
|||
|
|
"LatestResult": {
|
|||
|
|
"type": "textarea",
|
|||
|
|
"properties": "Create, Nillable, Update",
|
|||
|
|
"description": "The AI-generated result."
|
|||
|
|
},
|
|||
|
|
"LatestSafetyScore": {
|
|||
|
|
"type": "double",
|
|||
|
|
"properties": "Create, Filter, Nillable, Sort, Update",
|
|||
|
|
"description": "Overall safety score for the generated research. A higher value means the generated response is more likely to be safe. Minimum value of 0.0. Maximum value of 1.0."
|
|||
|
|
},
|
|||
|
|
"LatestStatus": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The status of the generated result. Possible values are: Generating Success Failed"
|
|||
|
|
},
|
|||
|
|
"OwnerId": {
|
|||
|
|
"type": "reference",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "The owner of the generated research result. This field is a polymorphic relationship field.",
|
|||
|
|
"relationship_name": "Owner",
|
|||
|
|
"refers_to": "Group, User"
|
|||
|
|
},
|
|||
|
|
"ReferenceRecordId": {
|
|||
|
|
"type": "reference",
|
|||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "The record ID that the research result was generated for. This field is a polymorphic relationship field.",
|
|||
|
|
"relationship_name": "ReferenceRecord",
|
|||
|
|
"refers_to": "Account, Contact, Lead, Opportunity"
|
|||
|
|
},
|
|||
|
|
"StandardPromptTemplate": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The standard prompt template used to generate the result."
|
|||
|
|
},
|
|||
|
|
"Version": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The prompt template version number."
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"special_access_rules": "Research results are only available in orgs that have Agentforce or generative AI features enabled.",
|
|||
|
|
"associated_objects": "This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.\n\n- **AIResearchPromptResultFeed**: Feed tracking is available for the object.\n- **AIResearchPromptResultHistory**: History is available for tracked fields of the object.\n- **AIResearchPromptResultOwnerSharingRule**: Sharing rules are available for the object.\n- **AIResearchPromptResultShare**: Sharing is available for the object."
|
|||
|
|
}
|