Better HN
topnewbestaskshowjobs
Log inSign up

PHOTON1233

11 karma · joined Oct 4, 2023 (3y ago) · 21 submissions

I've forgotten my childhood dreams and now on a grueling path to get them back. I try to build stuff and fix things.
Submissions

1.

Show HN: SensorLM: Real-Time Sensor Fusion Using LLM Reasoning

1 points · by PHOTON1233 · 1y ago · discuss

2.

SensorLM: Real-Time Sensor Fusion Using LLM Reasoning

1 points · by PHOTON1233 · 1y ago · discuss

3.

Show HN: Controlling a Web Cursor Using GPT-Vision(share.streamlit.io ↗)

1 points · by PHOTON1233 · 2y ago · discuss

4.

Show HN: Bespoke AI Travel Agent with Memory Stored in a Graph DB(share.streamlit.io ↗)

2 points · by PHOTON1233 · 2y ago · discuss

comment 2y ago · link · parent

I think the link was spammed folks! Someone ate through my openai credits! So it'll no longer work. If you want to see what Im building, add me on github! @Photon48

comment 2y ago · link · parent

Graph DBs (KGs) add a much needed structure to unstructured data fed into traditional RAG. They are more holistic (interconnectedness of all things) than traditional relational DBs. That comes with 3 advantages;

1. They find insights you didn’t know you needed. Like discovering both Bob and Alice like to play basketball & paint the wilderness, so they could be a good match!

2. KGs are simple to read by humans, so are perfect for natural language processing.

3. KGs are dead simple and scalable. No complex tables and referencing. Just dots and lines. So LLMs have an easy time understanding.

I really think graph data structures is the missing piece to fixing RAG, but it hasn’t been mass adopted because, building quality graphs from unstructured data is HARD. But we’re getting there!

comment 2y ago · link · parent

Ive got some amazing articles saved on my computer! Will get back to you. Until then, its basically a csv with (head,relation,tail)—> converted to a KG (networkx)-> nodes embedded and vector stored ->queried similarity nodes on conversation-> n-neighbours connected to KG extracted and fed into llm relevant context.

comment 2y ago · link · parent

Im nearly done with a version 2. Ill showcase that, gauge the interest and start work on open sourcing it!

comment 2y ago · link · parent

Thats a fun use case! I might try that out after flashing out this conversational-personal assistant usecase. Thanks for the idea!

comment 2y ago · link · parent

Hi Guys! This is a quick demo of AffinityRAG. Ask it a question, and it will fetch sub-graphs from a larger knowledge graph (Alex's medical history) and answer your queries BETTER than just RAG. I've built a lot more since then including remembering you're specific info. I will open-source it if you guys want it.

11.

Long-Term, Personalized Memory for AI Agents Using Graph DBs(share.streamlit.io ↗)

17 points · by PHOTON1233 · 2y ago · 13 comments

comment 2y ago · link · parent

Awesome visualization of data!

13.

Show HN: Targeted Graph Retrieval for better LLM memory(share.streamlit.io ↗)

3 points · by PHOTON1233 · 2y ago · discuss

comment 2y ago · link · parent

Thats pretty much it. There's also building on top of an existing graph and making sure new nodes are coherent and well connected to surrounding nodes which is a much tougher can of worms. Also, Navigating a KG (without multiple llm-hoping) is another challenge that needs to be solved for 'working-out retrieval'. Something that can navigate a forest of dividing paths without resorting to an llm call. Thanks for the name "keyword search on graphs". I found some great articles on the topic.

comment 2y ago · link · parent

ITs very much a Knowledge graph that builds upon itself as the affinities (node and relationship triples) pile up from user interactions, like for example. User: Sam and I are thinking of making our relationship official.... Affinities picked up: Girlfriend---OFFFICIALY_DATING--->Sam.

Keywords are soo 2022, semantic similarity is still employed to find pre-existing nodes and their relationships (affinities), and if not, new affinities are made, expanding the user's personal KG.

Its fun to build and maybe something can come out of it. Thanks for the comment!

16.

Affinity Is All You Need

1 points · by PHOTON1233 · 2y ago · 4 comments

17.

Affinity Is All You Need

1 points · by PHOTON1233 · 2y ago · discuss