News for hackers. Stuff that matters.
Re:Build Real-Time Knowledge Graph for Documents with LLM by barrenko on Wednesday May 14, 2025 @03:22AM (#43981798)
Not OP, but I think he literally supplies the "vanilla" .md file to the LLM and prompts.
Re:Build Real-Time Knowledge Graph for Documents with LLM by dvrp on Wednesday May 14, 2025 @05:20AM (#43982529)
Yes! This in essence.

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!

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 :)
Re:Build Real-Time Knowledge Graph for Documents with LLM by hailruda on Wednesday May 14, 2025 @02:52PM (#43987987)
I’d appreciate a writeup! I’d like to implement this myself, maybe add reminders.