{"library":"langchain-huggingface","type":"library","category":null,"description":"Langchain-huggingface provides integrations to leverage Hugging Face models and pipelines within the LangChain ecosystem. This includes support for various Hugging Face LLMs and embeddings, allowing users to connect to the Hugging Face Hub, Inference Endpoints, or run models locally via the transformers library. As of its current version 1.2.1, it's a dedicated integration package that follows LangChain's modular architecture, with frequent updates aligning with the broader LangChain ecosystem.","language":"python","status":"active","version":"1.2.1","tags":["LLM","Hugging Face","LangChain","AI","NLP","transformers","embeddings","chat"],"last_verified":"Thu May 21","install":[{"cmd":"pip install langchain-huggingface","imports":["from langchain_huggingface.chat_models import ChatHuggingFace","from langchain_huggingface.llms import HuggingFacePipeline","from langchain_huggingface.embeddings import HuggingFaceEmbeddings"]}],"homepage":"https://docs.langchain.com/oss/python/integrations/providers/huggingface","github":"https://github.com/langchain-ai/langchain","docs":"https://reference.langchain.com/python/integrations/langchain_huggingface/","changelog":"https://github.com/langchain-ai/langchain/releases?q=%22langchain-huggingface%22","pypi":"https://pypi.org/project/langchain-huggingface/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":9.6,"avg_import_s":3.2,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/langchain-huggingface/compatibility"}}