zenodotus280 / apl-md

https://patternlanguage.cc/
Other
217 stars 18 forks source link

I can't believe that this exists! I am working on the exact same thing as I type this.... #10

Open nickknyc opened 2 months ago

nickknyc commented 2 months ago

greetings. would love to connect on this. I am at this very moment taking my hand-built obsidian vault of the 253 patterns and pushing them and all the relationships into neo4j so that I can get more functionality and well graphiness.

I haven't even taken the time to read through the documentation... just needed to reach out.

Look forward to exchanging ideas and insights.

Best, Nick

zenodotus280 commented 2 months ago

Hey! Glad to hear you're interested. I haven't updated it recently but there's still about 200 patterns that I intend to polish up for the "related patterns" sections. I'm not familiar with neo4j but the graph visualization is one of the weaker parts of what I have. Still a bit of a gimmick but a fun one.

nickknyc commented 2 months ago

hi, yeah so I have all 253 linked up.. I have also set things up so that there is a lot more metadata around everything. Every photo and diagram has a text description created by gpt4o vision capabilities.

each link has contextual metadata created by gpt4o pattern - pattern i gave gpt4o the full text of the source pattern and the target pattern and had it write an analysis of why the link is there. for pattern-image I did the same with the image sescription and the full text of the source.

all the text is backed by embedding created using openai embedding-3-large model (including the contextual stuff) so that it can be searched with "standard" rag solutions (i.e llama-index).

by using neo4j, I get the benefit of being able to access the data via the cypher query language and through the rag approach which uses a vector db - neo4j serves as both vectordb and graph database.

I just got the data in, properly, today. Now it is time to build the tools that will be able to use it..

nickknyc commented 2 months ago

Also - for what it is worth, I was missing pattern 56 - the patternlanguage.com site was missing it - I subscribed and scraped text and images from them - soo... I was missing Pattern 56 and that is how I found this project. But I don't think you had the full text in there, so I took pictures of the pages and had chatgpt ocr them and it did a perfect job.

nickknyc commented 2 months ago

image

zenodotus280 commented 2 months ago

Wow, I'm excited to see the finished result!