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 • 800 B
Source Map (JSON)
{"version":3,"file":"reflection-loop.d.ts","sourceRoot":"","sources":["../../src/ai/reflection-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EAGnB,wBAAwB,EAEzB,MAAM,0BAA0B,CAAC;AAKlC;;GAEG;AACH,qBAAa,yBAAyB,CAAC,SAAS,CAC9C,YAAW,wBAAwB,CAAC,SAAS,CAAC;IAE9C,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA+B;;IAMnD,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAOjF,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC,EAAE,CAAC;IAKlE,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxC,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAGxC;AAmDD;;;GAGG;AACH,wBAAsB,cAAc,CAAC,SAAS,EAC5C,MAAM,EAAE,oBAAoB,CAAC,SAAS,CAAC,GACtC,OAAO,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAoc1C"}