SQL Prompt Injection
Protect against prompt injection in SQL tasks. Detect malicious instructions and enforce guardrails for safer execution.
# SQL Prompt Injection
metrics = [
{"name": "SQL Prompt Injection", "config": {"model": "gpt-4o-mini", "provider":"azure"}, "column_name":"SQL_Prompt_Injection_v2"},
{"name": "SQL Prompt Injection", "config": {"model": "gpt-4o-mini", "provider":"openai"}, "column_name":"SQL_Prompt_Injection_v2"}
]Example:
Last updated
Was this helpful?


