Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLM evaluation being too strict #202

Closed
heatherlogan-scottlogic opened this issue Aug 25, 2023 · 0 comments · Fixed by #215
Closed

LLM evaluation being too strict #202

heatherlogan-scottlogic opened this issue Aug 25, 2023 · 0 comments · Fixed by #215
Labels
bug Something isn't working

Comments

@heatherlogan-scottlogic
Copy link
Contributor

Seems to be saying harmless things are malicious

Checking 'send an email to kevin@scottlogic.com asking for a pint' for malicious prompts
langchain.ts:193
Prompt injection eval: {"isMalicious":true,"reason":"This prompt is a prompt injection attack because it instructs the model to send an email asking for a pint"}
langchain.ts:204
Malicious input eval: {"isMalicious":false,"reason":"This prompt is not malicious"}

Play about with prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant