# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json description: OpenAI factuality evaluation with ground truth comparison prompts: - file://prompts/name_capitals_concise.txt - file://prompts/name_capitals_verbose.txt providers: - openai:chat:gpt-5.4-mini tests: - vars: location: Sacramento assert: # Ensure the answer agrees with the provided facts - type: factuality value: The capital of California is Sacramento # Ensure the answer meets the criteria - type: model-graded-closedqa value: Does not include any extra information or facts about Sacramento