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
0
7
Build ChatBot with Ollama & Kendo UI
Learn how to build a ChatBot with Ollama and Kendo UI
Dany Paredes
December 20, 2024
Tweet
Share
More Decks by Dany Paredes
See All by Dany Paredes
Build ChatBot with Kendo UI and Gemini
danywalls
0
27
Create, Extend, and Publish Your Library with Angular
danywalls
0
20
Angular Signals - HARBOUR SPACE
danywalls
0
28
Angular 17 And Signals
danywalls
0
98
What's new with Angular 17
danywalls
0
31
Reactivity in Angular with Signals
danywalls
0
93
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.2k
Docker and Python
trallard
45
3.5k
For a Future-Friendly Web
brad_frost
179
9.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Statistics for Hackers
jakevdp
799
220k
How STYLIGHT went responsive
nonsquared
100
5.7k
Designing for humans not robots
tammielis
253
25k
Mobile First: as difficult as doing things right
swwweet
223
9.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Visualization
eitanlees
146
16k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.8k
The Language of Interfaces
destraynor
158
25k
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