The AI Shop: Build Django & Bootstrap App With LLM Integrated Endpoints: Streaming Response Covered

preview_player
Показать описание
A full deep dive into development of customer tracking app for a fictional shop, which integrates AI for doing the analysis on customer purchases. All of this explained from the level of deciding the business logic, front-end flow logic and full code walkthrough of the urls, models and views script on the app.

Chapter Navigation:
0:00 Intro
0:35 Introducing The Shop app
1:05 Demo of The Shop
2:10 Creating Showing & Deleting Customers
3:10 Creating Showing & Deleting Purchase
4:15 App with Single Page
4:45 Querying Openai with Analysis Question
5:55 Showing & Deleting Questions
6:20 Streaming Replies Demo
6:40 Demo Recap & Error Discussion
8:15 Overview of Modules & Views Used
10:30 What is the Business Logic
11:20 Explaining the Code Logic
13:55 How the prompt is rendered
14:30 Continuing Logic Explanation
16:10 Code Walkthrough & Server status
16:55 Front-end walkthrough Explained
20:25 OpenAI integration function Explanation
22:00 Customer related Views code walkthrough
25:00 Items related Views code walkthrough
28:40 Question Showing & Deleting Views Code
29:50 Ollama Inference Endpoint
30:15 How Jinja Template help in creating Prompts
32:45 Populating Jinja Template with Query & Items_list
33:45 Using AI Client to get response
35:35 Saving questions & answers to DB
36:00 Reviewing OpenAI Inference Code Walkthrough
37:40 Recap of Views
38:00 Streaming Response View code & demo Explanation
41:35 Recap
42:20 How Only single Template used for Multiple Views
46:25 Connecting Front End to Views with Links
47:10 Explaining Get Forms for LLM interaction
49:50 How StreamingRequest Javascript code walkthrough
53:45 Calling the JS function with Click
54:35 Database will be shared do not migrate
56:25 Full Recap
58:15 Importance of Business Logic
59:00 Challenge with Front-end & other issues
1:00:00 Ensure Local LLMs have to be Served seperately
1:01:55 Outro Support Open Source & Warmup Django

The data and the code is located at

I believe you will like this video, and subscribe to the channel. Further uploads related to Big Data, Large Language models and Artificial Intelligence will be shared to your Youtube Dashboard Directly.

The supporting playlists are
The bard Project
Practical Projects Playlist
Huggingface Playlist
Python Data Engineering Playlist
Python Ecosystem of Libraries
ChatGPT and AI Playlist
AWS and Python AWS Wrangler
Exploring the Realm of Generative AI: Hardware and Software Discussions

PS: Got a question or have a feedback on my content. Get in touch
By leaving a Comment in the video
@twitter Handle is @KQrios
Рекомендации по теме