Files
langchain-python/langchain/__init__.py
T
Harrison Chase 020c42dcae Harrison/add huggingface hub (#23)
Add support for huggingface hub

I could not find a good way to enforce stop tokens over the huggingface
hub api - that needs to hopefully be cleaned up in the future
2022-10-25 22:00:33 -07:00

29 lines
573 B
Python

"""Main entrypoint into package."""
from pathlib import Path
with open(Path(__file__).absolute().parents[0] / "VERSION") as _f:
__version__ = _f.read().strip()
from langchain.chains import (
LLMChain,
LLMMathChain,
PythonChain,
SelfAskWithSearchChain,
SerpAPIChain,
)
from langchain.llms import Cohere, HuggingFaceHub, OpenAI
from langchain.prompt import Prompt
__all__ = [
"LLMChain",
"LLMMathChain",
"PythonChain",
"SelfAskWithSearchChain",
"SerpAPIChain",
"Cohere",
"OpenAI",
"Prompt",
"HuggingFaceHub",
]