یکی از بهترین تصمیماتی که Obsidian اتخاذ کرد ، فشار آوردن ویژگی های ادغام هوش مصنوعی بر روی کاربران خود بود. با وجود این ، من هنوز AI را در طاق ابسیدین خود می خواستم ، و آن را دریافت کردم – همه به صورت رایگان و با اشتراک صفر.
یکی از بهترین تصمیماتی که Obsidian اتخاذ کرد ، فشار آوردن ویژگی های ادغام هوش مصنوعی بر روی کاربران خود بود. با وجود این ، من هنوز AI را در طاق ابسیدین خود می خواستم ، و آن را دریافت کردم – همه به صورت رایگان و با اشتراک صفر.
چرا می خواهم LLM در Obsidian بخواهم؟
من برای Bloat ai خارش ندارم
I want AI because I’ve seen what NotebookLM can do. With NotebookLM’s mind maps releasing, I was concerned that I’d have to switch from Obsidian to NotebookLM. However, that thought didn’t last long. I’m still on Obsidian and not going anywhere.
But, being able to ask questions and get answers straight from your own notes is a really tempting feature. I wanted that in Obsidian. I already pay for Obsidian Sync, so I wasn’t about to spend more on an API key or $20 a month for a Notion AI subscription.
I keep saying AI, but I really mean LLMs. شما ایده را دریافت می کنید Running them isn’t cheap, and no company is handing out unlimited access for free. If Obsidian ever added built-in AI, it would almost certainly come with a “Premium” tier—just like Notion did.
My Obsidian vault is fully available offline. Relying on an online tool meant that my vault wouldn’t be truly local. There are already plugins for Obsidian that let you integrate AI via an OpenAI API key, but again, that’s online, and costs money. On top of that, my vault is full of personal notes—and I’m not about to ship all of that off to a company like Google or OpenAI. And finally, there’s no way I’m dragging 2,500 Markdown files into ChatGPT or NotebookLM.
All that said, imagine my grin when I stumbled across a plugin that hooks Obsidian up to a local AI model.
Setting up PrivateAI for Obsidian
It’s easier than you think
Install the PrivateAI plugin from the Obsidian marketplace. It’s free and lightweight. Once installed, enable it, and you’re done with the Obsidian side of things.
The plugin bridges your notes to the AI model. You’ve got the notes and the bridge, so now the missing piece is the model itself. Installing a local AI model isn’t daunting; it’s just like installing any other program.
شما به مشخصات با کارایی بالا نیز احتیاج ندارید – می توانید LLM محلی را بر روی GTX1070 اجرا کنید ، اگرچه من از RX6700XT استفاده می کنم.
برای این کار از استودیو LM استفاده کنید. LMStudio را از وب سایت خود بارگیری و نصب کنید ، سپس آن را تنظیم کنید. مدلی را انتخاب کنید که متناسب با مشخصات شما باشد – توصیه من بزرگترین مدل استودیوی LM است که می گوید مناسب است. من از OpenAI/GPT-OSS-20B برای Obsidian با نتایج عالی استفاده می کنم. مدل های سبک تر 4B یا 8B نیز عملکردی نداشتند. با استودیو LM ، سرور را به سمت اجرا تغییر دهید. با ضربه زدن به Ctrl+L روی صفحه کلید خود ، مدل را بارگیری کنید و این همان است! هوش مصنوعی شما اکنون در 127.0.0.1:1234 قابل دسترسی است.
سرویس دهی را در شبکه محلی در تنظیمات سرور نگه دارید. در غیر این صورت ، یک رایانه خارجی می تواند به سرور AI شما دسترسی پیدا کند.
PrivateAI defaults to this address, so you’re good. Close Obsidian and launch it again. In LM Studio’s logs, you’ll see a flood of embed requests—that’s all your notes being indexed. I had 2,500 in mine, so it took a while to sort the embeds.
When done, click the tiny robot icon on the Obsidian sidebar—it opens the chat pane where you can interact with the LLM. Switch the context from open tabs to all notes to chat with your entire vault.
What can you do with your new local LLM?
The possibilities are endless
Now that I have AI in my Obsidian vault, what do I use it for? The sky’s the limit, really. Any analysis, manipulation, improvement, or query—just run it by the AI. The simplest use case is to chat with it. Ask any question and get answers from your notes, similar to NotebookLM. I can also switch the context to my entire vault. The AI will search for the relevant notes and use them as context.
In one example, I asked a question that wasn’t answered in the open context. Instead of saying “I can’t find anything,” the LLM made up an answer. A quick tweak in the settings fixed that. I added to the custom instructions, “If you can’t find the answer to a query in the provided context, say that you couldn’t find it.”
Now it honestly reports missing information while still drawing on its training data for a best‑effort answer.
This shows that even a local LLM can hallucinate. Always double‑check AI answers—that should be a habit now.
It’s not just about Q&A
Go beyond questions
One of my favorite use cases for AI is formatting text. Suppose I had a spreadsheet with all entries in uppercase and wanted them in lowercase. I could do it myself, write a formula, or… just ask AI. The same applies here.
For example, I wrote the note below during class and never got to format it with headings. I can simply ask PrivateAI to do it for me.
من از افزونه Reptition Obsidian Repetition برای ایجاد مرتبا درست در Obsidian استفاده می کنم. گردش کار قدیمی شامل تقسیم یادداشت ها ، خواندن آنها و ایجاد کارتهای مرتبا در یک برنامه کارت جداگانه جداگانه بود. اکنون ، من فقط از Privateai می خواهم که آنها را تولید کند – نتایج آن فوق العاده است.
فقط برای اشاره به امکانات ، آن را یک قدم جلوتر برداشتم. من از هوش مصنوعی خواستم تا مطالب ژورنال خود را مرور کند تا رایج ترین شکایت را پیدا کند. من مطمئن هستم که شما درک خواهید کرد که من نتایج را برای حریم خصوصی محو کردم ، اما حرف خود را می کنم که هوش مصنوعی کار بزرگی انجام داده است – بی نظیر. من هرگز کل ژورنال خود را در AI بارگذاری نکرده ام – حداقل وقتی که هوش مصنوعی به معنای تحویل همه چیز به فناوری بزرگ نیست. اما این دیگر اینگونه نیست.
بسیاری از فنی ها ، چه از Privateai و هم LM Studio وجود دارد. من می توانم دما را تغییر دهم ، سیستم RAG را تنظیم کنم ، تنظیمات را تغییر دهم و احتمالاً پاسخ ها را بیشتر بهبود می بخشم. در حال حاضر ، این کار بسیار عالی است – برای پاسخ دادن به رایانه من حدود دو ثانیه طول می کشد ، سریعتر از Chatgpt ، اگرچه Chatgpt یک مدل تواناتر است.