langchain/docs/extras/integrations/providers/minimax.mdx
HeTaoPKU d5884017a9
Add Minimax llm model to langchain (#7645)
- Description: Minimax is a great AI startup from China, recently they
released their latest model and chat API, and the API is widely-spread
in China. As a result, I'd like to add the Minimax llm model to
Langchain.
- Tag maintainer: @hwchase17, @baskaryan

---------

Co-authored-by: the <tao.he@hulu.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-07-27 22:53:23 -07:00

26 lines
834 B
Plaintext

# Minimax
>[Minimax](https://api.minimax.chat) is a Chinese startup that provides natural language processing models
> for companies and individuals.
## Installation and Setup
Get a [Minimax api key](https://api.minimax.chat/user-center/basic-information/interface-key) and set it as an environment variable (`MINIMAX_API_KEY`)
Get a [Minimax group id](https://api.minimax.chat/user-center/basic-information) 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](/docs/modules/model_io/models/llms/integrations/minimax.html).
```python
from langchain.llms import Minimax
```
## Text Embedding Model
There exists a Minimax Embedding model, which you can access with
```python
from langchain.embeddings import MiniMaxEmbeddings
```