I've been rewriting a project from Node.js (TypeScript) to Rust that has a large number of nested async tasks running. Using `moro-local` I was able to remove all the `JoinSet`, `Arc<Mutex<...>>`, and write a very similar style as I had in Node.js.
I’d love to have a ChatGPT that was also trained on all of the pages from my “second brain,” Roam Research.
Imagine, I could ask it questions about myself, my friends, and my business. It would in many ways know me better than me from reading all my journal entries.
How many years are we away from something like this?
Zero. I’ve done this with google drive and GPT-3 (thus quite limited in prompt length). The biggest hurdle for your requirements is the nonexistent public API for ChatGPT and Roam Research.
Obsidian is just plain text. Only a matter of time before ChatGPT is accessible via API (there are some libraries that have reverse engineered the API; I put ChatGPT in VSCode when it first came out). Until then, GPT3 has an API.
Not sure if this is still supported, but Roam used to have an in-app query interface. You could use the JS console to run Datomic style Datalog queries.