Skip to main content

Minimax

Minimax is a Chinese startup that provides natural language processing models for companies and individuals.

Installation and Setupโ€‹

Get a Minimax api key and set it as an environment variable (MINIMAX_API_KEY) Get a Minimax group id and set it as an environment variable (MINIMAX_GROUP_ID)

LLMโ€‹

There exists a Minimax LLM wrapper, which you can access with See a usage example.

from langchain_community.llms import Minimax
API Reference:Minimax

Chat Modelsโ€‹

See a usage example

from langchain_community.chat_models import MiniMaxChat
API Reference:MiniMaxChat

Text Embedding Modelโ€‹

There exists a Minimax Embedding model, which you can access with

from langchain_community.embeddings import MiniMaxEmbeddings
API Reference:MiniMaxEmbeddings

Was this page helpful?