Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Pass the PMP® Exam on Your First Try — Expert-Led Training
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Learn to build a Flask API backend that integrates large language models (LLMs) in this 11-minute video tutorial. Master the process of combining chat and inference functionalities by setting up Flask with necessary dependencies like Flask-CORS for cross-origin resource sharing. Explore image data processing techniques including Base64 encoding, and implement inference functions to extract labels and class information from images. Develop chatbot functionality by implementing conversation history parsing and image class data processing to generate contextual responses. Configure Flask routes for handling image uploads and chatbot interactions, including file upload management, Base64 image decoding, and data processing for frontend communication. Create a robust backend system ready for frontend integration by implementing chat routes that ensure proper processing of user messages through the chatbot model.
Syllabus
App 1.3.2 Back-End Development - Creating a Flask API
Taught by
Augmented Startups