AI as an API
Code
- Production Version github repo
- Course Reference Version github repo
Guides
- Prepare the Dataset
- Convert Dataset into Trainable Vectors
- Build a Spam Classifier with Keras & Tensorflow
- AI Model Download
Requirements
- Python Experience such as 30 Days of Python
- Datastax Account - Sign up here includes 80GB of storage for free.
Lessons
Welcome
0:00
Demo
0:00
Requirements
0:00
Setup Project on VS Code
0:00
Download Datasets
0:00
Unzip Datasets
0:00
Extract Review & Combine Dataset
0:00
Convert Dataset into Vectors
0:00
Split & Export Vectorized Dataset
0:00
Training our Machine Learning Model
0:00
Upload our Model to Object Storage
0:00
Model Download Pipeline
0:00
Base FastAPI App
0:00
Load Keras Model into FastAPI
0:00
Predictions with Keras & FastAPI
0:00
Creating a Resuable AI Model Class
0:00
AstraDB Keys, Pydantic Settings & Environment Variables
0:00
Configure AstraDB Cluster & Session
0:00
Cassandra Model in AstraDB
0:00
Store inference data via Cassandra Model
0:00
Paginate a Cassandra model as a FastAPI Streaming Response
0:00
Ngrok, Pydantic Model, & Post Data
0:00
Pick a Cloud Provider
0:00
Generate SSH Keys
0:00
Add SSH Key to Linode
0:00
SSH into VM
0:00
Provision VM on Linode
0:00
Install GIT & Python Pip
0:00
Clone Public Project
0:00
Clone Private Repo
0:00
Install Docker
0:00
Why We Use Docker
0:00
Add Dockerfile
0:00
Build Docker Project & Enter Docker Bash
0:00
Environment Variables & Entrypoint
0:00
Added Pypyr Pipelines
0:00
Securing a Directory with Cryptography
0:00
Resuable Encryption Module
0:00
Pipelines for Encryption & Decryption
0:00
Production Environment Updates
0:00
Consideration for Updating our Code & Systems
0:00
Thank you and next steps
0:00