Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Exploring Conversational AI: Crafting AI-Powere...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hassan Bahati
October 12, 2024
78
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Exploring Conversational AI: Crafting AI-Powered Django Apps with Gemini
Hassan Bahati
October 12, 2024
Transcript
32 slides
Exploring Conversational AI: Crafting AI-Powered Django Apps with Gemini Hassan
Bahati @HassanBahatiM blog.hassanbahati.com
Conversational AI 🤔 • Software that can interact with users
through text or speech using Natural Language Processing (NLP) to understand, process, and respond to human language.
Django ?? • Robust Framework - “batteries-included” • Security •
Scalability • and so many more amazing features…
Gemini ?? • Accurate Intent Recognition • Contextual Dialogue Management
• Customizable Models • backed by Google
Django + Gemini for Conversational AI • Django: Handles the
web interface and routes. • Gemini: Powers the conversational logic and generates responses
None
None
Picking the Right Model • Use Case • Performance vs.
Efficiency • Latency • Data Sensitivity
None
What influences a great architecture for conversational applications ??
What enables someone to answer a question well?
What enables someone to answer a question well? • Knowledge
of the topic being asked • Context of the conversation
What makes up a person’s response to a question ?
What makes up a person’s response to a question ?
• Understanding of the question • Interpretation of the question • Tone in which the question is asked
How best can we architecture Conversational AI Applications for efficiency
?
None
Considerations to make… • User Interface • Knowledge Search Approach
• Prompt engineering • Safety and privacy
Prompt🤔🤔🤔Engineering • Assigning a temperature value • Knowledge • Chat
Context • Setting guidelines for user’s prompts responses.
Diving into the development
Prerequisites • Basic understanding of Python • Understanding of web
development with Django • Development environment(Python, pip,IDE)
Step 1: Install Django & Google Generativeai
Step 2: Create a Django Project
Step 2: Create a Django Project
Step 3: Create a Django App
None
Step 4: Add your app to the project’s settings
Step 5: Define Models
Step 6: Migrate the Database
Step 7: Create Views
Step 8: Wrapping it up by creating templates🚀 🚀 🚀
Thank you!! Happy Coding Hassan Bahati @HassanBahatiM blog.hassanbahati.com
References https://www.djangoproject.com/ https:/ /deepmind.google/technologies/gemini/ https://docs.djangoproject.com/en/5.1/
More Decks by Hassan Bahati
See All by Hassan Bahati
Building Agentic Apps with Flutter and Firebase Genkit
hassanbahati
0
57
Mastering Asynchronous Data Flows with TanStack Query Firebase
hassanbahati
1
45
Mastering TanStack Query Firebase – Build a Realtime Task Manager
hassanbahati
1
92
Building Intelligent Search Apps with Firestore Vector Search and App Hosting
hassanbahati
1
48
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
56
10k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Navigating Weather and Climate Data
rabernat
0
590
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
780
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
My Coaching Mixtape
mlcsv
0
390
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Balancing Empowerment & Direction
lara
6
1.4k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
690