Story

Ask HN: Best practices to control LLM responses with user queries?

cloudking Friday, November 29, 2024

How do you control LLM output in your applications? Is it just a matter of a well-crafted system prompt or are there any other techniques? I'm building a query based UX and I specifically want to make sure users cannot inject their own instructions into queries that would steer the LLM away from it's intended purpose.

4 4
Read on Hacker News Comments 4