Skip to content

Commit

Permalink
Adding optional support for subfolders in source parameter to Train API.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendrixMSFT committed Jun 3, 2019
1 parent f852320 commit 790a29b
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,26 @@
"maxLength": 2048,
"minLength": 0,
"type": "string"
},
"sourceFilter":{
"$ref":"#/definitions/TrainSourceFilter",
"description":"Get or set filter to further search the\r\nsource path for content."
}
}
},
"TrainSourceFilter":{
"description":"Filters to be applied when traversing a data source.",
"type":"object",
"properties":{
"prefix":{
"description":"A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.",
"maxLength":128,
"minLength":0,
"type":"string"
},
"includeSubFolders":{
"description":"A flag to indicate of sub folders within the set of\r\nprefix folders will also need to included when searching\r\nfor content to be preprocessed.",
"type":"boolean"
}
}
},
Expand Down

0 comments on commit 790a29b

Please sign in to comment.