I’m just getting myself started with DT4. I’ve been a longtime DT3 user, but only recently have I started to find LLMs useful for the kind of academic research and writing in the humanities/social sciences that I do. I don’t fully have a handle on all the new LLM-oriented AI features in DT4.
The problem I ran into when using other non-DT harness (ie. Claude Code) for working with many hundreds of pages of academic monographs and anthologies is that I very quickly hit my token limit. For instance, I might want to use the LLM to help me find specific passages from some books I read a year or two ago, with the aim of refreshing my memory and providing me with the specific relevant passages of the book so that I can reference them or quote them in my writing. The raw .txt of a 300-500 page book might be somewhere around 500kb - 1MB. That requires a lot of tokens to scan!
So I started brainstorming and running small experiments to see if I could figure out how to make this process more efficient. I started designing a prompt for ingesting the full text of academic sources, dividing it into smaller chunks that the AI would compress into an abstract form to store in a lookup table, which would refer back to the original pages of the source text and indicate ranked relatedness to similar passages throughout the book. In effect, I was almost creating something like a neural network within the LLM. I realized this was silly, I shouldn’t need to reinvent the wheel here. Perhaps this is the kind of problem that other DT users might have spent time trying to solve.
So I’m wondering what strategies or tools other users might have found to be helpful in working with lots of text. An important thing is that this workflow must not be over-optimized to distill the “lessons” and “insights” or “interpretations” of the source text. Rather, I need the LLM to be able to point me to specific page numbers/specific quotations in the source text for me to reread on my own.
My desire to find a workflow like this is heavily inspired by my use of DT3’s advanced search features and boolean search operators. I love being able to enter a sequence of words or phrases with the NEAR or AND boolean operates, and have a ranked list of books and chapters from my research library returned to me, with specific pages highlighted for immediate access. Basically, I’m curious if theres a way to use LLMs to give a similar workflow with the ability to enter more sophisticated searches. So for example, instead of searching (econom*|financ*|money|monetary|cost|purchas*) NEAR (media|text|litera*|news*|communicat*), i’d like to be able to describe in prose that i’m searching for passages that discuss the relationship between economy and communication media.
Have others here found ways of dealing with this type of task?