Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Build ChatBot with Ollama & Kendo UI
Search
Dany Paredes
December 20, 2024
9
0
Share
Build ChatBot with Ollama & Kendo UI
Learn how to build a ChatBot with Ollama and Kendo UI
Dany Paredes
December 20, 2024
More Decks by Dany Paredes
See All by Dany Paredes
Build ChatBot with Kendo UI and Gemini
danywalls
0
43
Create, Extend, and Publish Your Library with Angular
danywalls
0
26
Angular Signals - HARBOUR SPACE
danywalls
0
34
Angular 17 And Signals
danywalls
0
110
What's new with Angular 17
danywalls
0
32
Reactivity in Angular with Signals
danywalls
0
110
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
150
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Become a Pro
speakerdeck
PRO
31
5.9k
Embracing the Ebb and Flow
colly
88
5k
My Coaching Mixtape
mlcsv
0
90
Code Review Best Practice
trishagee
74
20k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
91
How to train your dragon (web standard)
notwaldorf
97
6.6k
Being A Developer After 40
akosma
91
590k
Navigating Weather and Climate Data
rabernat
0
150
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Transcript
Dany Paredes @danywalls www.danywalls.com Build ChatBot with Ollama & Kendo
UI
Agenda 1. Setup 2. Using Ollama 3. Building The Service
4. Using Ollama API 5. Connecting Everything!!
Dany Paredes Senior Software Engineer @celonis www.danywalls.com linkedin.com/in/danywalls Angular GDE
x 4 Progress Champion 2024 Writer Google Dev Library and Kendo UI
Scenario We want to build a bot without pay for
tokens for MVP and get the message like ChatGPT (Stream).
None
Ollama
Editor Preview Both ollama run gemma
Angular & Kendo UI
The Power of Kendo UI
Conversational UI The Conversational UI package delivers the Kendo UI
for Angular AIPrompt and Chat components which allow the user to participate in chat sessions with other users and chatbots and to interact with AI via prompts.
Editor Preview Both ng add @progress/kendo-angular-conversational-ui
Editor Preview Both npm i ollama
Chat Entities
Editor Preview Both ng generate services/ollama
How its works?
Ollama Service generate(text: string) getGemmaResponse(userMessage: string) messages = signal<Message[]> ollama
messages
getGemmaResponse
getGemmaResponse
generate
Kendo UI and OllamaService
Chat and OllamaService
Using Ollama Service
Demo Time
Recap
Questions
https://www.linkedin.com/in/danywalls/ https://x.com/danywalls www.danywalls.com