Values.ServiceNowKnowledgeArticleConfigurationSourceProvides the configuration information for crawling knowledge articles in the ServiceNow site.
type nonrec t = {crawlAttachments : Boolean.t option;TRUE to index attachments to knowledge articles.
*)includeAttachmentFilePatterns : DataSourceInclusionsExclusionsStrings.t option;A list of regular expression patterns applied to include knowledge article attachments. Attachments that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
*)excludeAttachmentFilePatterns : DataSourceInclusionsExclusionsStrings.t option;A list of regular expression patterns applied to exclude certain knowledge article attachments. Attachments that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
*)documentDataFieldName : DataSourceFieldName.t;The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
*)documentTitleFieldName : DataSourceFieldName.t option;The name of the ServiceNow field that is mapped to the index document title field.
*)fieldMappings : DataSourceToIndexFieldMappingList.t option;Maps attributes or field names of knoweldge articles to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields. The ServiceNow data source field names must exist in your ServiceNow custom metadata.
*)filterQuery : ServiceNowKnowledgeArticleFilterQuery.t option;A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private. The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query.
*)}val make :
?crawlAttachments:??? ->
?includeAttachmentFilePatterns:??? ->
?excludeAttachmentFilePatterns:??? ->
?documentTitleFieldName:??? ->
?fieldMappings:??? ->
?filterQuery:??? ->
documentDataFieldName:DataSourceFieldName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `String of DataSourceInclusionsExclusionsStringsMember.t
| `Structure of
(string * [> `String of DataSourceFieldName.t ]) list ]
list
| `String of DataSourceFieldName.t ])
list ]