Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
import os os.environ["MINIMAX_GROUP_ID"] = "MINIMAX_GROUP_ID" os.environ["MINIMAX_API_KEY"] = "MINIMAX_API_KEY"
from langchain_community.chat_models import MiniMaxChat from langchain_core.messages import HumanMessage
chat = MiniMaxChat()
chat( [ HumanMessage( content="Translate this sentence from English to French. I love programming." ) ] )