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 • 1.82 kB
Source Map (JSON)
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,SAAS,CAAC;AAGxB,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,YAAY,EAEjB,eAAe,EACf,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAK1B;;GAEG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC,CAExD;AAKD,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGpF,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,cAAc,EAAE,yCAAyC;AACzD,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,WAAW,EAAE,sCAAsC;AACnD,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAKzD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAG/F,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAKjF,OAAO,EACL,WAAW,EACX,UAAU,EACV,UAAU,EACV,2BAA2B,EAC3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