From the course: Python for AI Projects: From Data Exploration to Impact
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Improving GenAI performance - Python Tutorial
From the course: Python for AI Projects: From Data Exploration to Impact
Improving GenAI performance
- [Instructor] As we continue to evolve our AI system, it's important to step back and talk about the different ways we can structure and optimize workflows in GenAI. Let's begin with two distinct architectural approaches. The first one is a structured AI workflow. This is where you define every step of the pipeline explicitly, from retrieval, to embedding, to prediction, to prompting. Each part of the system follows a predictable path that you can control. It's precise, reliable, and ideal for deterministic flows where you want full visibility and control. The second is a more autonomous or agentic approach where an LLM plays a more active role in deciding what to do next. Instead of simply following steps, the model can choose which tools to call, what actions to take, and how to respond based on the evolving conversation or task. This is where frameworks like LangChain come in, which we've touched upon lightly before.…
Contents
-
-
-
-
-
-
(Locked)
Data exploration2m 18s
-
(Locked)
Setting up your Coding Environment3m 35s
-
(Locked)
Setting up LLMs4m 50s
-
(Locked)
Deploy AI Web Apps using Streamlit4m 8s
-
(Locked)
Run an AI Chatbot from Explore California Dataset3m 14s
-
(Locked)
Improving GenAI performance3m 47s
-
(Locked)
Bringing It All Together: Improving your Chatbot with ML9m 31s
-
(Locked)
-