templates.EmbeddingNNTemplateSchema
- class templates.EmbeddingNNTemplateSchema(*args, **kwargs)
Template schema for EmbeddingsNearestNeighbor
Parameters
Parameters
Name Type Default Info class_embeddings_path strPath to a file containing class embeddings. feature_field strName of the field containing the feature / embeddings. min_distance floatMinimum distance to be considered a match. - 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
Return type
List[str]
artifact\_config\_keys
artifact_config_keys