░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░░▒▓██████▓▒░ ░▒▓██████▓▒░░▒▓███████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓███████▓▒░ ░▒▓██████▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░░▒▓█▓▒░░▒▓█▓▒░
Slides and code for "Applying AI with Python" talk at PyConZA 2024.
This code introduces a novel agent architecture that demonstrates self-reflection, tool use and reasoning.
Slides are in this repo.
Video coming soon.
- Tables
TableData.ipynb
- Linear Regression to Predict Wine Quality
- XGBoost to Predict Wine Quality
- Logistic Regression to Predict Wine Colour
- XGBoost to Predict Wine Colour
- Images
Classification and Visual Search.ipynb
- Fine-Tune ResNet to predict clothing categories
- Use ResNet embeddings to do image similarity search
Object Detection.ipynb
- Use YOLO to detect objects in images
Segmentation.ipynb
- Use SAM2 to segment objects in images
- Speech
Transcribe.ipynb
- Uses Whisper to transcribe podcast clips
- Text
1. Scrape PyConZA2024.ipynb
- Scrapes PyCon speaker data
2. ETL – Load Documents into Database.ipynb
- Enriches speaker data and loads data into vector and SQL database
3. Rag.ipybn
- Implements retrieval augmented generation (RAG) on the pycon data
- Agents
Agent.ipynb
- Implements agent with self-reflection and SQL tool use to improve RAG on conference data.
Welcome! Especially on the agent stuff :)
Speaker: Alex Conway
- X / Twitter: alxcnwy
- LinkedIn: Alex Conway
- AI Consulting: NumberBoost