2 Building your first GenAI app

 

In this chapter

  • You learn how to use the low-code development platform Langflow to create GenAI applications.
  • You create your first working chatbot.

In this chapter, you will 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 need to be in front of a computer as we will 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 of all, 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 unfortunate) to write code around the ’80s, 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

 
 

What you can do with Langflow

 
 
 

Navigating through Langflow without getting lost

 
 
 
 

Hello, World! Our pirate chatbot

 
 

Using the flow editor

 
 

Exploring Langflow components

 
 

A pirate’s blueprint

 
 

Building our first flow

 
 
 

What if we coded it?

 
 
 

Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest