langchain_huggingface 0.0.3

langchain_huggingface.chat_models

Classes

chat_models.huggingface.ChatHuggingFace

Hugging Face LLM's as ChatModels.

chat_models.huggingface.TGI_MESSAGE(role, ...)

Message to send to the TextGenInference API.

chat_models.huggingface.TGI_RESPONSE(...)

Response from the TextGenInference API.

langchain_huggingface.embeddings

Classes

embeddings.huggingface.HuggingFaceEmbeddings

HuggingFace sentence_transformers embedding models.

embeddings.huggingface_endpoint.HuggingFaceEndpointEmbeddings

HuggingFaceHub embedding models.

langchain_huggingface.llms

Classes

llms.huggingface_endpoint.HuggingFaceEndpoint

HuggingFace Endpoint.

llms.huggingface_pipeline.HuggingFacePipeline

HuggingFace Pipeline API.