Zetaphor
01/09/2025, 4:18 PMyaml
- description: "Contains PII"
vars: file://vars/has_pii.yaml
yaml
text:
- "You can contact me at john.doe@example.com for more information."
- "Call me at (555) 123-4567 anytime."
- "I live at 123 Main Street, Anytown, CA 12345."
- "John Smith lives at 123 Oak St and can be reached at john@email.com or (555) 555-1212."
- "SSN: 123-45-6789"
- "Card number: 4111-1111-1111-1111"
https://cdn.discordapp.com/attachments/1326948216385572964/1326948216582967326/image.png?ex=67814854&is=677ff6d4&hm=2ff0f4154e9d65604959fdd71a880f18051e42b1d016827de066336022d2084a&Zetaphor
01/09/2025, 4:18 PMian
01/10/2025, 11:36 PMvars directory containing a has_pii.yaml file relative to the promptfooconfig.yaml right?
right now you are providing text as a YAML/JSON object, that might be affecting how it's read. do you want to provide it as a string? In that case it would be
yaml
text: |-
- You can contact me at john.doe@example.com for more information.
- Call me at (555) 123-4567 anytime.
- I live at 123 Main Street, Anytown, CA 12345.
- John Smith lives at 123 Oak St and can be reached at john@email.com or (555) 555-1212.
- SSN: 123-45-6789
- Card number: 4111-1111-1111-1111