AI - Local or Cloud ?
If you are integrating AI into your applications, there are three ways to do it.
API integration
You integrate with ChatGPT, Cohere, or a similar service. You get an API key and start using APIs offered by these services.
Pros
Access to perhaps the best models known to humanity
High accuracy and speed
No maintenance
Cons
Cost
Privacy - Not all of your users will be comfortable with their data being shared with third party services.
Bring your own cloud
You host models like Llama2, Mistral, etc. on your own GPU servers.
Pros
You can train the models on your own data. Unless you are a huge company sitting on volumes of data, this is not really an advantage.
Cons
Privacy - This is lesser of a concern than sending your private data to third party sites over the internet. But again, all of your users might not be comfortable with you being able to read their data on your servers.
Cost - GPUs are very costly. Running your own models in the cloud is quite a costly affair at this time.
Maintenance - You are responsible for maintaining your servers and models.
Browser
You run the models in your browser.
Pros
Privacy - User data doesn’t have to leave the user’s machine.
Cost - Since all the computation happens on the user’s machine, there is no infrastructure cost.
Maintenance - There is no server maintenance.
Cons
Not so powerful models
Less accurate and slow
Large memory footprint and CPU intensive - A lot of effort is required to manage a smooth user experience.
It is an exciting time. With browser technology advancing rapidly and WASM bringing the power of the byte code to browsers, things will become a lot more exciting for browser based AI.
Never miss a post from
Satyajeet Jadhav
Get notified when Satyajeet Jadhav publishes a new post.
13 views
Comments ( 1 )
Satyajeet Jadhav
6 months ago
this is a test comment.
Participate in the conversation.
Read More
The biggest challenge with AI
For most of us, the biggest challenge with AI is not going to be which LLM model to use or what infra to deploy. It will be to understand why do I need AI.
Working with AI
Yesterday, in the thinkdeli whatsapp community we had an interesting discussion around using AI for writing. A couple of us voiced their fears about losing their voice. One of us showed how he was using AI to improve his posts. One of us asked, “At what point does your article st...
FAQs from friends and strangers
Who do you think is the closest to thinkdeli in terms of competition? Is it notion, notes, or medium?
Introducing, Chat
For the above conversation the prompt was
Semantic Search, aka Magic
The related notes feature searches all your notes to find the ones that are closest in meaning to your current note.Searching notes to find text similar in meaning to your query is called semantic search. We are trying to build a semantic search engine.
My plan with thinkdeli
I started thinkdeli almost exactly a year ago. I wanted to build an app that would let me start writing in a second, and would work offline. With these modest goals, I started building.
OMG
Oh my garden!