How to Build Your First LLM Application Using LangChain and TypeScript

In this article, I will walk you through a step-by-step guide to building your first LLM-powered application using LangChain and the OpenAI model. I will be using TypeScript to build the app, and by the end you’ll have a working translator built with the OpenAI GPT-4 model and LangChain’s messaging package. Set Up the Project To start with, createContinueContinue reading “How to Build Your First LLM Application Using LangChain and TypeScript”

Step-by-Step Guide: Using LangExtract with OpenAI

Recently, Google launched a library called LangExtract. LangExtract is an open-source Python library that enables developers to transform unstructured text into structured information using large language models (LLMs). It offers a lightweight interface compatible with multiple model backends, including Gemini and GPT, making it well-suited for processing large unstructured text into structured information. Some key featuresContinueContinue reading “Step-by-Step Guide: Using LangExtract with OpenAI”

Async Programming in Python

Python async programming is not the same as multi-threading. Even though they both achieve concurrency, multi-threading tasks run in parallel on multiple threads, whereas async programming functions run asynchronously using the event loop. Async programming is most useful when your program spends a lot of time waiting for input or output (I/O), like: Web scraping many pages atContinueContinue reading “Async Programming in Python”

How to Use Angular httpResource API in Kendo UI Grid

In this article, we will learn to use the Angular httpResource API with the Progress Kendo UI for Angular Grid component. We will fetch data from the API using the new Angular feature httpResource and then display the data in the Kendo UI for Angular Grid. This article assumes that you have already created an AngularContinueContinue reading “How to Use Angular httpResource API in Kendo UI Grid”

Learning NestJS Part 3: Data Caching

This is the third part of the NestJS learning series. Read Part 1 here – Getting Started Read Part 2 here – Connecting to Database In this part, we will learn about caching. This part of the series will cover the following topics: Enabling caching at the application level Enabling caching at the Route Level In-memory cachingContinueContinue reading “Learning NestJS Part 3: Data Caching”

Learning NestJS Part 2: Connecting to Database

This is the second part of the NestJS learning series. Part 1 covered setting up the Nest project. In this part, we will cover the following topics: Connecting to the SQL Azure database Setting up Connection String Endpoints for CRUD operations Setting Up the Database MySQL Azure has a database called nomadcoder. In this article, weContinueContinue reading “Learning NestJS Part 2: Connecting to Database”

Learning NestJS Part 1: Getting Started

In this section, we’ll begin working with NestJS. This part of the learning series covers the following topics: Installation Creating the First Controller Creating the First Service Adding a GET Endpoint Adding a POST Endpoint For now, we will manage data using a JavaScript array. In future sections, we’ll learn how to connect to aContinueContinue reading “Learning NestJS Part 1: Getting Started”

Getting Started with the httpResource API in Angular

Angular 19 introduced the Resource API for the following purposes: Fetch data from the API Update data locally Asynchronously load a local resource It should not be used for mutation, such as POST operations. Read more about the resource API here. However, there was an issue when working with the Resource API. One major problem wasContinueContinue reading “Getting Started with the httpResource API in Angular”

What Is LinkedSignal in Angular?

The linkedSignal is a new Angular feature introduced in Version 19. It helps manage local states that depend on other signals. It creates a writable signal that updates automatically when the signals it depends on change. This is useful for keeping the local state in sync with dynamic data. Some important points about linkedSignal are:ContinueContinue reading “What Is LinkedSignal in Angular?”

The 5 Steps to Route Guards in Angular

A route guard is a feature that controls access to specific routes in the Angular application. It can protect routes from unauthorized access, require certain conditions be met before navigating to a route or perform other checks and actions during the navigation process. Angular provides five types of route guards: CanActivate CanActivateChild CanDeactivate CanLoad ResolveContinueContinue reading “The 5 Steps to Route Guards in Angular”