Build an LLM Chat App Using LangGraph, OpenAI and Python—Part 2: Understanding SystemMessage

When building conversational AI with LangChain, the way you send and receive information is through messages. Each message has a specific role, helping you shape the flow, tone and context of the conversation. LangChain supports several message types: HumanMessage – represents the user’s input AIMessage – represents the model’s response SystemMessage – sets the behavior or rules forContinueContinue reading “Build an LLM Chat App Using LangGraph, OpenAI and Python—Part 2: Understanding SystemMessage”

Build an LLM Chat App Using LangGraph, OpenAI and Python—Part 1

Everyone is excited about GenAI, chatbots and agents—and for good reason. This article offers a very beginner-friendly introduction to building with OpenAI and LangChain using Python, helping you take your first steps into the world of AI development. This article covers the following topics: Installation of dependencies Connecting to the OpenAI GPT model Creating yourContinueContinue reading “Build an LLM Chat App Using LangGraph, OpenAI and Python—Part 1”

Integrating OpenAI’s GPT with Angular: A Step-by-Step Guide

In this article, we’ll walk through the step-by-step process of integrating the OpenAI GPT model into an Angular application. To get started, create a new Angular project and follow each step as you go along. Please note that you’ll need a valid OpenAI API key to proceed. By default, newer versions of Angular projects doContinueContinue reading “Integrating OpenAI’s GPT with Angular: A Step-by-Step Guide”