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 – The value.

  • key – The key.

  • model – The model.

Returns

Whether the value is different from the default.