0

provider-minimax (MiniMax Provider)

This example evaluates MiniMax's OpenAI-compatible chat models with promptfoo.

Example · مثالopenai

Content

provider-minimax (MiniMax Provider)

This example evaluates MiniMax's OpenAI-compatible chat models with promptfoo.

Setup

  1. Create a MiniMax API key in the MiniMax console.
  2. 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