SimilarityBuilderInput
- class emmet.builders.materials.similarity.SimilarityBuilderInput(**data)
Bases:
BaseBuilderInputAugment base builder input with extra fields.
- Parameters:
builder_meta (EmmetMeta | None)
deprecated (bool)
material_id (Annotated[AlphaID | MPID, BeforeValidator(func=functools.partial(<function _fault_tolerant_id_serde at 0x7f75d76d4cc0>, padlen=8), json_schema_input_type=PydanticUndefined), PlainSerializer(func=functools.partial(<function _fault_tolerant_id_serde at 0x7f75d76d4cc0>, serialize=True, padlen=8), return_type=PydanticUndefined, when_used=always)] | None)
structure (Annotated[StructureTypeVar, BeforeValidator(func=~emmet.core.types.pymatgen_types.structure_adapter.pop_empty_structure_keys, json_schema_input_type=PydanticUndefined), WrapSerializer(func=~emmet.core.types.pymatgen_types.structure_adapter.<lambda>, return_type=~emmet.core.types.pymatgen_types.structure_adapter.TypedStructureDict, when_used=always)])
similarity_method (SimilarityMethod)
feature_vector (list[float])
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].