langchain_core.load.serializable
.try_neq_default¶
- langchain_core.load.serializable.try_neq_default(value: Any, key: str, model: BaseModel) bool [source]¶
Try to determine if a value is different from the default.
- Parameters
value (Any) – The value.
key (str) – The key.
model (BaseModel) – The model.
- Returns
Whether the value is different from the default.
- Return type
bool