Getting Started with On-Device AI: RAG using ObjectBox Vector Database and LangChain
Today, we're exploring on-device AI / Edge AI, where the hardware isn’t a limit and the cloud optional.
Vector databases have transformed how we handle unstructured data like images, videos, and texts, making it searchable and more usable. Until today, however, they needed powerful servers or a cloud infrastructure.
With on-device vector database, you can bring this capability directly onto a wide range of devices, from mobile phones to IoT and embedded systems. In this tutorial, we’ll explore how you can set up your local AI tech stack to build new on-device AI use cases.
We’ll guide you through creating a Retrieval Augmented Generation (RAG) app using ObjectBox and LangChain. RAG techniques allow us to augment a language model's knowledge base actively, ensuring your AI can access and reason with your data and the very latest information. With ObjectBox you can do that, without the data ever needing to leave the device.
Stay tuned as we explore how to integrate these technologies into your projects effectively, and don't forget to check out the GitHub link below for the code:
Docs: docs.objectbox.io/ann-vector-...
github code : github.com/krishnaik06/Update...
Пікірлер: 18
Brilliant! I genuinely appreciate your work. You are under-rated man. But we love your work
Krish sir you are amazing. You are sharing content faster than I can consume it❤
Hats off Krish! Love
Yo this is great!
🙏💯
great video. Can you do a tutorial on how to use a local, on device opensource llm with objectbox, using flutter (ios), so that the mobile app will be completely offline?
Sir ji, itni mwhnat kaise kar lete ho?!!😢 Sote bhi ho ki nahi?😮 Janata ko bhi batao, itni high n stable energy ka rahasya.🙏😌
Hi Krish, Can you also cover how to work with transactional data, such as a user's to-do list stored in a traditional database, and use this information as RAG
Question for you mr. Naik ... How and from where did the {context} get it's value?
Hi Krish, Could you please post a video on how to query PDFs on-premises without using API keys? We are trying to implement these models in our systems, but we are encountering errors related to rate limits, such as "You exceeded your current quota." It would be greatly appreciated if you could provide some information on how to avoid these errors.
@snehilsingh5081
21 күн бұрын
Did you try using FOSS vector db and llm ?
Minimum pc requirement for it??
@markusjunginger1963
Ай бұрын
Only a couple of MBs RAM for ObjectBox itself. You can configure the memory limit to match how much you want to spare. A fast disk is recommended.
Can i use ollama and this and create a mobile rag app offline? Can u create a series?
Hello krish. Mai ek data scientist interview me gaya tha waha mujhe ek text latter mila aur usko sentiment analysis karna tha. Mai starting me khus ho gaya ki ye to 20 minutes me kar dunga but meri khusi jayad der nahi tiki. Jab mai data read kiya to usme unable data tha. Jub maine unse puch ki cluster se solve karne ko to to na bole diye. Kya aisa ho sakta hai ki hum unable data ka sentiment analysis kar sakte hai.
Chat Q n A with KZread video transcript by uploading yt link + multilingual text to speech sir make this project video
azure ki kab ayengi videos?
Can we use excel database ? @krish