langchain_core.utils.utils.check_package_versionΒΆ

langchain_core.utils.utils.check_package_version(package: str, lt_version: Optional[str] = None, lte_version: Optional[str] = None, gt_version: Optional[str] = None, gte_version: Optional[str] = None) None[source]ΒΆ

Check the version of a package.

Parameters
  • package (str) –

  • lt_version (Optional[str]) –

  • lte_version (Optional[str]) –

  • gt_version (Optional[str]) –

  • gte_version (Optional[str]) –

Return type

None