UNPKG

ai-patterns

Version:

Production-ready TypeScript patterns to build solid and robust AI applications. Retry logic, circuit breakers, rate limiting, human-in-the-loop escalation, prompt versioning, response validation, context window management, and more—all with complete type

1 lines 382 B
{"version":3,"file":"bulkhead.d.ts","sourceRoot":"","sources":["../../src/resilience/bulkhead.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAiJnE;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAG,GAAG,EAC1C,OAAO,EAAE,eAAe,CAAC,OAAO,CAAC,GAChC;IACD,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,QAAQ,IAAI,aAAa,CAAC;CAC3B,CAWA;AAED,eAAO,MAAM,QAAQ,uBAAiB,CAAC"}