Hacker News new | ask | show | jobs
by bosch_mind 699 days ago
I’ve been experimenting with this on the side for fun.

Langchain is not my favorite, so I just wrote my own abstractions.

I hosted a neo4j graph database and extracted entities from the input data. You can do this with spaCy or LLM. I then generated nodes and edges between these entities, the chunked text and the embeddings for semantic search.

This combines the power of search with higher relevance due to crawling the graph with more intention