templates.DictTemplateSchema
- class templates.DictTemplateSchema(*args, **kwargs)
Dictionary template
- Parameters:
field (str) – Field
combiner ({"ANY", "ALL", "NONE"}) – Combiner
filepath (str) – Path to a file
case_sensitive (bool, default False) – Case sensitive or not
tokenize (bool, default True) – Tokenize or not
remove_header (bool, default False) – If True, remove the first row
class_index (int, default 0) – Index of the column containing keywords
- static artifact_config_keys()
The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.
- Return type:
List
[str
]