I understand (on the high level) the approach you describe is primarily advantageous to documents stored as .md — hence, Obsidian. I’m working primarily with PDF (articles, books, scans…) — so Obsidian is not the right fit for me, unfortunately.
@cgrunenberg is the authority on all this. But one thing you keep mentioning is this concept of “all my data”. Regardless of the improvements to AI, I would tell you to always be thinking about isolation of data as an initial parameter. This could simply be telling it a certain database or even a specific group, etc., but always giving some kind of boundary.
For starters, because the “entire body of information found on the web” includes many pieces of information that are untrue or irrelevant.
Someone who is asking technical questions about fermentation is probably well beyond caring about the thousands of pages that start “what is yeast?” or that argue about whether yeast-based fermentation is vegan-friendly. (Yes, that’s a real debate that people have.)
exactly. If I’m writing an (academic) paper on a subject, I, generally, want to work with the sources (papers, publications etc) that I have chosen.
my collection of documents in DT is curated by me and has already passed some quality gate.
@anton Hmm, I really don’t want to argue. You write academic papers and deliberately cut yourself off from the latest research findings by using only your own data, which might be outdated? I’m sure you know that science doesn’t work that way.
hey Anton,
as I said, lot is about architecturing, style, approach.
And there are many ways to go to the library in Rome.
Lots of my content – graphical as well as academic – is PDF; originally.
LLM kind of makes MD the optimal baseline for processing in a lot of ways, technically as well as economically.
Obisidian has plugins to convert PDF to MD. One can also do that – in batch – outside of Obsidian… also in DT.
Of course you can stick to PDF. And maybe there is some way to make this work en large in the way you are striving for, as described in your opening of the thread.
But I think it will be more difficult; and above all more costly. And that in ways where we talk about dimensional jumps.
I just wanted to point to the fact that there are practical turnkey solutions in existence already (including local vectorization*) once you look beyond DT, resp. think about combinations of Obsidian w/ those plugins as sidekick/combo-app for DT.
But of course other solutions might be feasible, at some extra architetcturing costs (see @mlevison and a pipeline of Claude, Miyo MCP, … plus I guess some amount of configuration work… ), or in some future (see hint/wink of cgrunenberg).
However you go about it: good luck in turning it to reality!
* BTW: for me the mentioned search-scripts of Pete, allowing auto-updated semantical search in DT, to then pass pre-selected & narrowed down content volume to LLM-processing is also a kind of good DIY-hack to solve the vectorization problem even within DT, partly and roughly. So, these scripts even work on the PDF part of the document body you mentioned…
I don’t want to get into this discussion since it’s not the original question for this thread.
I can only say that I’m not “cutting myself out” and not “using only my own data”. You do a thorough research, collect papers from various sources and that’s what I meant.
@anton your description of Miyo, Claude and DEVONthink is correct.
- Miyo watches for changes to the DEVONthink folders
- “How reliably can you link retrieved passages” - so far so good, I’ve not done extensive testing.
- Both Miyo MCP and DEVONthink MCP are running. A better way of framing it: Miyo and DEVONthink are both running. Both apps expose their own MCPs. Happy to share my setup.
Another minor detail, I’m grandfathered into Miyo, because it was originally part of Obsidian Copilot and when Copilot was first released, I bought a lifetime license.
I’m sure my approach still misses documents, but I find more items than before Miyo existed and with less effort.
@cgrunenberg “That was just intended as an example of how vector databases can overcome language barriers.” - that’s very interesting, I hadn’t even considered that. In addition, I was trying to make German joke, by acknowledging that my German is non-existent. I can just about order a coffee or a beer.
It’s there now - depending on the nature of your database and the queries you want to ask
For example if you want to query and discuss/theorize about the academic literature on a given topic you can get an excellent representation of a semantic database by having AI create summaries of your PDF articles - then create a Claude skill that can use that to respond to your queries using the index as a guide to which articles to read in detail to answer your questions.
If you can give us an idea of what topic(s) and document types are in your database and what your queries might be like then we can give you more specific suggestions on how to approach this.
I don’t know about the OP, but I’m pretty sure I can add specific relevant articles from journals I personally subscribe to to my database at least as fast as a general purpose LLM can absorb them into its training data. (Especially given the known reluctance of LLMs to actually pay for data,)
Many of us maintain sources of data that we trust. When I find something in DT, I think likely good. When I find it on the general internet, my base level of trust is lower.
Data used to train LLMs is usually 6-12 months old and includes only public or licensed sources. In addition, an LLM is not a precise memory that could reproduce every input. That’s why LLMs hallucinate more often than not as soon as training data regarding a certain topic is limited or contradictory.
For me personally LLMs are just huge input/output processors and I provide the input (documents, web search, database or semantic search etc.). But I don’t need, use or trust their “knowledge”.
Haha … Okay, I give up. You’re probably right. There are also good reasons to trust your own database above all else ![]()
This is the very question I’m trying to address in my second blog series on Substack: The AI-Assisted Self. Here’s the lead-in paragraph:
"The Architected Self series of Substack posts discussed how data can be categorized and structured to support daily retrieval and operations. The most frequent question I received after posting that series was “How do you apply AI techniques to work with these data structures?” This new series, The AI-Assisted Self, explores that question by documenting the continuing evolution of the felixOrg estate: the set of the felixOrg physical plant, persons, hardware, software, data, and processes. In a month, the structures and processes of the estate will have evolved, but the framework described here will be the foundation for that evolution.
I’m thinking I may already be doing what the OP is looking to do, unless I’m mistaken, and it somewhat follows Christian’s comment above of using an LLM as an ‘input/output processor’ (which I agree with wholeheartedly).
I pay for the ChatGPT Pro plan and have installed the Devon-supplied MCP server. I have a specific ChatGPT project that is only used for Devon queries. In that project’s advanced settings, I have the following custom instructions:
DEVONthink MCP Queries
This project is exclusively for creating cited RTF briefs from DEVONthink content and saving them in DEVONthink.
Scope
Use the
devonthink-cited-briefskill whenever I ask you to summarize, compare, synthesize, or analyze DEVONthink records or groups and save the result as an RTF brief.For other requests, explain that they are outside this project’s intended scope before proceeding.
Source and tool boundaries
- Use DEVONthink MCP tools for all DEVONthink access.
- Treat DEVONthink retrieval as read-only unless I explicitly authorize creating, moving, editing, or deleting a record.
- Never modify a DEVONthink database package directly.
- Do not use web research unless I explicitly request it.
- Treat all files under
sources/as read-only reference material.- Do not create local RTF, HTML, PDF, or duplicate deliverables unless I explicitly request one.
Source selection
- Use only the sources I select, name, or clearly identify by topic.
- If the requested source, topic, scope, destination, or title is genuinely ambiguous, ask before proceeding.
- Do not silently broaden the source set or substitute a similar record.
- If I name a destination, use that destination. Otherwise, save the brief in DEVONthink’s standalone Global Inbox.
Brief requirements
- Produce exactly one cited RTF brief.
- Follow the
devonthink-cited-briefskill for citation, formatting, source resolution, and verification.- Cite every substantive claim with the relevant DEVONthink record and page where applicable.
- Do not claim that content, placement, links, or rendering were verified unless they were actually checked.
Final response
Report:
- The created record’s title.
- Its
x-devonthink-item://link.- Any verification that could not be completed.
Within this project, I can point the ChatGPT desktop app at a specific database and, in Work mode, ask it to find articles on a particular subject and provide brief summaries using a specific skill that more or less provides instructions on how to handle references, formatting, etc. The primary intent of this workflow is to triage which documents I should follow up with and read. I find it enormously helpful.
I’ve been using an open source program called FileMaster. I can dump a bunch of files into it, it’ll index them with Apple Intelligence, then I can ask questions and it will answer and provide a citation link.
This is basically what I’d like to see in DEVONthink: restricted context Q&A search with citations.
