mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +00:00
there are still a few broken ones: - some in the chains docs, which I will delete soon :) - some pointing to a sqlite tool, which we should add
34 lines
968 B
Plaintext
34 lines
968 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/integrations/llms/minimax).
|
|
|
|
```python
|
|
from langchain_community.llms import Minimax
|
|
```
|
|
|
|
## Chat Models
|
|
|
|
See a [usage example](/docs/integrations/chat/minimax)
|
|
|
|
```python
|
|
from langchain_community.chat_models import MiniMaxChat
|
|
```
|
|
|
|
## Text Embedding Model
|
|
|
|
There exists a Minimax Embedding model, which you can access with
|
|
```python
|
|
from langchain_community.embeddings import MiniMaxEmbeddings
|
|
```
|