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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Dany Paredes
December 20, 2024
12
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
48
Create, Extend, and Publish Your Library with Angular
danywalls
0
32
Angular Signals - HARBOUR SPACE
danywalls
0
35
Angular 17 And Signals
danywalls
0
110
What's new with Angular 17
danywalls
0
35
Reactivity in Angular with Signals
danywalls
0
110
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
340
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
AI: The stuff that nobody shows you
jnunemaker
PRO
6
630
The browser strikes back
jonoalderson
0
1k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
150
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Ruling the World: When Life Gets Gamed
codingconduct
0
220
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
Being A Developer After 40
akosma
91
590k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Odyssey Design
rkendrick25
PRO
2
610
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