langchain_mistralai 0.1.6¶

langchain_mistralai.chat_models¶

Classes¶

chat_models.ChatMistralAI

A chat model that uses the MistralAI API.

Functions¶

chat_models.acompletion_with_retry(llm[, ...])

Use tenacity to retry the async completion call.

langchain_mistralai.embeddings¶

Classes¶

embeddings.DummyTokenizer()

Dummy tokenizer for when tokenizer cannot be accessed (e.g., via Huggingface)

embeddings.MistralAIEmbeddings

MistralAI embedding models.