templates.SequenceWordVectorSchema
- class templates.SequenceWordVectorSchema(*args, **kwargs)
Sequence Word Vector template
- Parameters:
field (str) – Field
keywords (List[str]) – List of keywords
cosine_similarity (float) – Cosine similarity
word_vector_path (str) – Path to a file containing word embedding vectors
case_sensitive (bool) – Case sensitive or not
- 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
]