Blog
Turning JSON Objects from a Fetch Response into an Async Generator with the Streams API
When interacting with large language models, we often want to present the user with content before the full response is available. We can use the Streams API to parse partial responses on the fly and display them to the user.
Novel UI Design Patterns for AI-Powered Applications
AI-powered features, such as text generation, can be slower than traditional features. In this article, we explore new UI design patterns that can help create a better user experience for AI-powered applications.
Advanced Type Annotations
While developing the ttj-client Node.JS client library, we learned a lot about JSDoc type annotations. In this article, we share our aquired knowledge about JSDoc type annotations, how to import and export types, and how to use advanced types like generics and discriminated union types.