2 ms·
> The decision making llm has access to non-public data it will never share but will use. Yes, if you've already solved prompt injection as this implies, using
by dragonwriter 3y ago
> The decision making llm has access to non-public data it will never share but will use.
Yes, if you've already solved prompt injection as this implies, using two LLMs, one of which applies the solution, will also solve prompt injection.
However, if you haven't solved prompt injection, you have to be concerned that the input to the first LLM will produce output to the second LLM that itself will contain a prompt injection that will cause the second LLM to share data that it should not.
> Running two llms can be expensive today but won't be tomorrow.
Running two LLMs doesn't solve prompt injection, though it might make it harder through security by obscurity, since any successful two-model injection needs to create the prompt injection targeting the second LLM in the output of the first.