Where should AI sit in your UI? - UX Collective

The rise of large language models (LLMs) and AI agents has supercharged familiar UI patterns like chatbots, but a new wave of interface layouts is beginning to take shape. The real opportunity now…

UX Collective
Design Patterns for Securing LLM Agents against Prompt Injections

This new paper by 11 authors from organizations including IBM, Invariant Labs, ETH Zurich, Google and Microsoft is an excellent addition to the literature on prompt injection and LLM security. …

Simon Willison’s Weblog

Relay your dependency injection to the next level! A powerful, fluent library that extends Microsoft.Extensions.DependencyInjection with adaptive patterns for conditional routing, multi-relays, adapter chains, and dynamic service resolution.

https://github.com/TarasKovalenko/Relay

#dotnet #csharp #DI #designpatterns #DependencyInjection #relay

Anyone have any info on how word processors model their documents in memory?

#SoftwareArchitecture #SoftwareDevelopment #WordProcessing #DataStructures #DesignPatterns

Unlock the power of flexibility in your projects with the Strategy Design Pattern. Choose and switch algorithms at runtime for cleaner, maintainable code! 🚀 https://www.funkysi1701.com/posts/2024/strategy-pattern/ #designpatterns #architecture #csharp
Strategy Design Pattern

Explore the Strategy Design Pattern, a powerful design pattern that allows you to define a family of algorithms, encapsulate each one, and make them interchangeable. Learn why it's useful and how to implement it in your projects.