QuestionQ77

VerifiedApplication Development

A Generative AI Engineer is building an LLM application that lets users generate personalized birthday poems from their names.

Which technique would be most effective for safeguarding the application against potentially malicious user inputs?

Explanation

Safety filters can detect harmful or malicious inputs and block unsafe model behavior by returning an appropriate refusal. Limiting session time, continuing after identifying malicious input, or adding compute capacity does not protect the application from unsafe prompts.

Community Discussion

No comments yet. Be the first to start the discussion!