mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
f505320a73
resolve the merging issues for https://github.com/langchain-ai/langchain/pull/6757 --------- Co-authored-by: 何涛 <taohe@bytedance.com>
34 lines
996 B
Plaintext
34 lines
996 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
|
|
```
|
|
|
|
## Chat Models
|
|
|
|
See a [usage example](/docs/modules/model_io/models/chat/integrations/minimax.html)
|
|
|
|
```python
|
|
from langchain.chat_models import MiniMaxChat
|
|
```
|
|
|
|
## Text Embedding Model
|
|
|
|
There exists a Minimax Embedding model, which you can access with
|
|
```python
|
|
from langchain.embeddings import MiniMaxEmbeddings
|
|
```
|