From the course: LLMOps in Practice: A Deep Dive
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Coding for logging - Python Tutorial
From the course: LLMOps in Practice: A Deep Dive
Coding for logging
To this point, you've looked at what LLMs are and you've briefly looked at how they worked. We explored some of the ideas of LLMOps, namely, how you can have a process of continually improving your app from user feedback. In your last exercise, you took a simple chat app written in Node.js and you added some code to log all the conversations between the user and the chatbot. I'd like to drill down into that so we can see what it looks like to create a logging system. We'll look in detail at the server.js file, so make sure you have a copy of it on hand. It is available in the GitHub repo for this course. Now this is the back end for the chat application. The front end is the HTML code that contains JavaScript code that manages the user interface, rendering and styling the chat messages and capturing the user's input. And you can find that in the download, too. But I'm just going to focus on the back end in this video. At the top of your file is the set of require commands that specify…
Contents
-
-
-
-
(Locked)
Coding for logging7m 35s
-
(Locked)
Exploring the logging system4m 23s
-
(Locked)
RLHF and user feedback1m 52s
-
(Locked)
Challenge: Implementing RLHF and user feedback2m 35s
-
(Locked)
Demonstrating the ops project completed2m 40s
-
(Locked)
Solution: Completing an ops project5m 2s
-
(Locked)
Demonstrating the code for the ops17m 12s
-
(Locked)
-
-
-