langchain-huggingface: 0.1.2#

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.

embeddings#

Classes

embeddings.huggingface.HuggingFaceEmbeddings

HuggingFace sentence_transformers embedding models.

embeddings.huggingface_endpoint.HuggingFaceEndpointEmbeddings

HuggingFaceHub embedding models.

llms#

Classes