Discussion about this post

User's avatar
Neural Foundry's avatar

Excellent walkthrough of context propagation in async retrieval. The ManagedExecutor detail is the kind of thing that bites in production when you forget request scopes don't automatically transfer toworker threads. Had a similar issue with scoped beans in background tasks and it took forever to debug because it worked fine in sequential flow.

Expand full comment
Fernando L.'s avatar

Hi Markus, thanks for the great article! I was studying your code, specifically the InputValidationGuardrail, and I have a question.

​I noticed the patterns in the code seem to be in English. I was wondering: if an attacker tries to use a different language (like Portuguese or Italian) for the prompt injection, would the current guardrail implementation still be able to detect it?

Expand full comment
2 more comments...

No posts

Ready for more?