load_llm#

langchain_community.llms.loading.load_llm(file: str | Path, **kwargs: Any) BaseLLM[source]#

Load LLM from a file.

Parameters:
  • file (str | Path)

  • kwargs (Any)

Return type:

BaseLLM

Examples using load_llm