Chat with PDFs on Slack with LLMs! Using Django, Celery, Upstash, LlamaIndex, OpenAI and more.

Chat with PDFs on Slack with LLMs! Using Django, Celery, Upstash, LlamaIndex, OpenAI and more.

AI Slack bots are coming in a big way. Learn how to build one yourself in this series.

💻 Code https://github.com/codingforentrepreneurs/Django-AI-Slackbot

References:
⭐️ Upstash: https://upstash.com/
⭐️ CloudFlare: https://www.cloudflare.com/
⭐️ LlamaIndex: https://www.llamaindex.ai/
⭐️ Django: https://www.djangoproject.com/
⭐️ Celery: https://docs.celeryq.dev/en/stable/getting-started/introduction.html
⭐️ Jupyter https://jupyter.org/

New to Django? Python? Watch these:
⦿ Try Django 3.2 (or similar): https://www.youtube.com/playlist?list=PLEsfXFp6DpzRMby_cSoWTFw8zaMdTEXgL
⦿ 30 Days of Python (up to about day 15): https://www.youtube.com/playlist?list=PLEsfXFp6DpzQjDBvhNy5YbaBx9j-ZsUe6
⦿ Some HTML / CSS Experience is ideal

00:00:00 – Welcome
00:02:03 – Demo
00:04:41 – Requirements
00:06:05 – Public URLs and HTTPs during Development
00:08:28 – Setting up Cloudflare Tunnel
00:15:58 – Django Project Hello Actual World
00:23:33 – Create your Slack Bot
00:25:54 – Slack Bot Event Subscription Verification in Django
00:34:59 – Install Slack Bot and View Slack Messages
00:41:33 – Parse Environment Variables with Python Decouple
00:46:24 – Echo Slack Message with Django + Python
00:54:31 – Message Event Block Text for Raw Value
00:57:08 – Tagging User for Echo Response
00:58:44 – Custom Slack Message Client
01:01:07 – Bot Responses as Messages Threads
01:04:30 – Integrate Celery and Upstash Redis
01:15:54 – Slack Bot Response with a Celery Task
01:21:17 – Chat with a Large Language Model from OpenAI
01:32:00 – Integrate Jupyter and Django
01:35:45 – Chat with a PDF using LlamaIndex
01:44:48 – Persist Index with Vector Store
01:55:17 – Vector Index Chat via Slackbot
02:07:25 – Better Understanding of LlamaIndex Query Engine
02:19:03 – Thank you and next steps

https://www.youtube.com/watch?v=Rol2SR11oZU

#financialfreedomllc #businesstips #business #entrepreneur #businessowner #entrepreneurship #marketing #smallbusiness #businesscoach #digitalmarketing #success #entrepreneurlife #motivation #businessideas #businessgrowth #businesswoman #businessman #businessquotes #businessowners #businessstrategy #startup #businesslife #businessmindset #businessminded #entrepreneurs #businessadvice #entrepreneurmindset #marketingtips #onlinebusiness #branding

Scroll to Top