promptfoo test cases and datasets

Getting test data into promptfoo and keeping it maintainable: CSV and spreadsheet sources, Hugging Face datasets, generated test cases, scenarios, modular configs and moving eval results between instances.

Loading promptfoo test cases from SharePoint

Using SharePoint CSV files as the test source for promptfoo: registering an Azure AD app, certificate-based authentication, the Sites.Read.All permission and the @azure/msal-node dependency.

Generating assertions with promptfoo

Bootstrapping checks for an existing suite with promptfoo generate assertions, and the review needed so generated assertions actually reject bad answers.

Importing OpenAI Evals results into promptfoo

Bringing OpenAI Evals dashboard exports into promptfoo as historical records: what the JSONL import keeps, why it does not rebuild runnable tests, and how to recreate the suite as promptfoo assertions.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.