provider-minimax (MiniMax Provider)
This example evaluates MiniMax's OpenAI-compatible chat models with promptfoo.
Content
provider-minimax (MiniMax Provider)
This example evaluates MiniMax's OpenAI-compatible chat models with promptfoo.
Setup
- Create a MiniMax API key in the MiniMax console.
- Export it before running the example:
export MINIMAX_API_KEY=your-api-key-here
Run
npx promptfoo@latest init --example provider-minimax
cd provider-minimax
promptfoo eval
The included config compares the flagship M3 model with the previous-generation M2.7 on a simple factual prompt.
Source and license
- Source
- Promptfoo
- Original
- promptfoo/promptfoo/examples/provider-minimax
- License
- MIT