Skip to main content
Version: 25.2

templates.SequenceWordVectorSchema

class templates.SequenceWordVectorSchema(*args, **kwargs)

Sequence Word Vector template

Parameters

NameTypeDefaultInfo
fieldstrField.
keywordsList[str]List of keywords.
cosine_similarityfloatCosine similarity.
word_vector_pathstrPath to a file containing word embedding vectors.
case_sensitiveboolCase sensitive or not.

artifact_config_keys

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]