Re:Build Real-Time Knowledge Graph for Documents with LLM
by unshavedyak on Wednesday May 14, 2025 @09:59AM
(#43984648)
I really miss the ease of Telegram bots. It's so fun to write stuff like this.
Re:Build Real-Time Knowledge Graph for Documents with LLM
by badmonster on Wednesday May 14, 2025 @01:16PM
(#43986981)
This is such a cool idea, would love to hack a project sometime with multi-media types and map to knowledge graphs and feed that to agents :)
Specifically, it’s a file that contains a list of Entity-Attribute-Value assertions in triplets.
It’s called “FACTS.md” and each line represents a fact. Such as “<OP>, PASSPORT_NUMBER, <VALUE>”
Then put it in context, ask question, and then use Telegram API and suddenly I have a “Private ChatGPT” that’s aware of my filesystem, can run my own binaries/tools, and has access to a private document store.
It gets cool once you add function calling to open images on demand (or any type of file) with vision capabilities/OCR and you start running shell commands and combining that with many media types from Telegram.
Funny enough, I called the project “COO” initially. Been thinking of writing up something about it.
I think it’s a no brainer and I’m confident OpenAI, Claude, and Notion will go there.
In the meantime, I have good-ol’ vi, .md/.txt, and HTTP/SMTP!