Open hoanghm opened 4 months ago
Like SQL Injection, users may use malicious information to generate unexpected missions (e.g., ridiculous, irrelevant tasks)
When user information is filled out, they need to be sanitized semantically to avoid "prompt injection"
[ ] 1. Experiment with prompt templates to sanitize input, then create a method for GeminiClient to sanitize an input given:
GeminiClient
[ ] 2. Set up an API endpoint to call and sanitize inputs semantically for the front end.
Like SQL Injection, users may use malicious information to generate unexpected missions (e.g., ridiculous, irrelevant tasks)
When user information is filled out, they need to be sanitized semantically to avoid "prompt injection"
[ ] 1. Experiment with prompt templates to sanitize input, then create a method for
GeminiClient
to sanitize an input given:[ ] 2. Set up an API endpoint to call and sanitize inputs semantically for the front end.