chapter two

2 Building your first GenAI app

 

In this chapter

  • using the low-code development platform Langflow to create GenAI applications
  • creating your first working chatbot

In this chapter, you’ll become acquainted with your travel companion in GenAI programming. Meet Langflow, a low-code development platform specifically designed for GenAI applications. By the end of this chapter, you’ll have a fully functioning development environment and will have created your first simple but working chatbot, the unmissable Hello, World!

This is the first chapter of many where you’ll need to be in front of a computer. We’ll get our hands dirty, so make sure you have one handy as you get started.

Wait a minute, low code?

I often see Python developers turn their noses up when they hear about low-code programming tools. As we unveil Langflow, it makes sense to dispel some myths and clarify why low-code programming is highly suitable for developing GenAI tools, regardless of your coding proficiency.

First, using low-code programming tools is the natural consequence of a long-term technology trend: the level of abstraction used for programming has been constantly increasing over time. If you had the opportunity (for some, it might have been the misfortune) to write code in the 1980s, you might have written it in assembly language. In assembly, every line of code had to deal with basic operations at a specific part of the processor.

Intro to Langflow

Hello, World! Our pirate chatbot

What if we coded it?

Summary