examples/provider-meta/README.md
You can run this example with:
npx promptfoo@latest init --example provider-meta
cd provider-meta
Set your MODEL_API_KEY environment variable — Meta's official variable, the same one its SDKs use. You can create a key from the API keys tab on the Meta Model API dashboard.
Then run:
promptfoo eval
View the results with promptfoo view.
muse-spark-1.1 — Meta's Muse Spark multimodal reasoning model — evaluated at two reasoning_effort levels (minimal vs high) on a short summarisation task, so you can compare answer quality, latency, and cost.icontains / icontains-any assertions, so the example runs with nothing but a MODEL_API_KEY.meta:<model> targets Meta's Responses API by default, so search grounding with inline citations is one config line away: add tools: [{ type: web_search }] to a provider. See the provider docs for the chat completions (meta:chat:) and Anthropic-compatible (meta:messages:) surfaces.