CustomizationData
A JSON object that defines additional requirements for the Ask action. For Fact Bank systems, you can also use this parameter with the Report
action.
The JSON object must include a system_name
property. You can use CustomizationData
for different functions, depending on the system type.
-
Passage Extractor. You can use
CustomizationData
to supply a SecurityInfo string to use with yourAsk
action. This option allows you to use document security with the IDOL Content Data Index, to ensure that users receive answers only from documents that they have access to. -
Fact Bank. You can use
CustomizationData
to supply a SecurityInfo string to use with yourAsk
action. This option allows you to use document security with the facts in your SQL database fact store. To use security with Fact Bank, you must have a SQL database fact store, which includes thesources
andsecurity_types
tables, with ACL information for your sources. You must also configure the security types in your Answer Server configuration file. For more information, refer to the Answer Server Administration Guide and see Security Configuration Parameters -
Answer Bank. You can use
CustomizationData
to supply additionalFieldText
to the query to your Answer Bank Agentstore. You can use this option to restrict Ask actions to a subset of your Answer Bank data, without having to set up multiple Answer Bank systems and Agentstores. For more information, refer to theAnswer Server Administration Guide. For details of syntax and options that you can use forFieldText
, refer to the IDOL Server Administration Guide. -
Global. You can use
CustomizationData
to list the questions and answers that have already been used in the current question answering session. This option applies to all systems. In this case, you set thesession_data
option to a string that represents a JSON array of JSON objects, each with at least one key out ofquestion
andanswer
, which both map to a string. You can use these keys to provide details of the previous questions and answers, which provides additional context for future questions.
You can retrieve the full schema for the customization data object by sending the GetResources action with Type set to Schema
.
Actions: | |
Type: | String |
Default: | |
Example: |
|
See Also: | GetResources action Type parameter |