Recent submissions

Comment · 1 year ago
Thank you very much! Yes, I agree we can kinda say everything is a vector database when you store vectors in it but what I meant by this is we don't need the use Pinecone or any other vector data bases for high performance, high accuracy and user information integration. We all made this with postgresql, redis and faiss. On the other hand, we didn't use pgvector mainly because we wanted to use Faiss as our primary vector search. Faiss gives us flexibilty to control the time for answer generation, with indexing method (tradeoff between accuracy and speed). And indexing with Faiss really fast and efficient.
Comment · 1 year ago
I will try Obisidian for sure. But can we interactively do something with taken notes, like dragging them etc?
Comment · 1 year ago
This is mentioned, I liked the idea but it might be overkill to take simple notes. On the other hand interactivity while structuring the notes might be beneficial time to time. Like dragging them and observe them etc.
Comment · 1 year ago
I've never used it, but it seems mostly like a planning and productivity tool rather than note taking tool. I want to easily structure my notes like MS One Note, reach them with different devices and be able to semantically search through notes. Sometimes I forget how I took that note and couldn't find where did I put it.
Comment · 1 year ago
We've built Doclink.io, an AI-powered document analysis product with a from-scratch RAG implementation that uses PostgreSQL for persistent, high-performance storage of embeddings and document structure.

Most RAG implementations today rely on vector databases for document chunking, but they often lack customization options and can become costly at scale. Instead, we used a different approach: storing every sentence as an embedding in PostgreSQL. This gave us more control over retrieval while allowing us to manage both user-related and document-related data in a single SQL database.

At first, with a very basic RAG implementation, our answer relevancy was only 45%. We read every RAG related paper and try to get best practice methods to increase accuracy. We tested and implemented methods such as HyDE (Hypothetical Document Embeddings), header boosting, and hierarchical retrieval to improve accuracy to over 90%.

One of the biggest challenges was maintaining document structure during retrieval. Instead of retrieving arbitrary chunks, we use SQL joins to reconstruct the hierarchical context, connecting sentences to their parent headers. This ensures that the LLM receives properly structured information, reducing hallucinations and improving response accuracy.

Since we had no prior web development experience, we decided to build a simple Python backend with a JS frontend and deploy it on a VPS. You can use the product completely for free. We have a one time payment premium plan for lifetime, but this plan is for the users want to use it excessively. Mostly you can go with the free plan.

If you're interested in the technical details, we're fully open-source. You can see the technical implementation in GitHub (https://github.com/rahmansahinler1/doclink) or try it at doclink.io

Would love to hear from others who have explored RAG implementations or have ideas for further optimization!

Comment · 1 year ago
I like the idea that "Personal Knowledge Base". I like the styling of MS one note on the other hand. I think perfect app would be combine of those two.
Comment · 1 year ago
Yeah, I'm using whatsapp desktop for quick notes or links too. Later on I can reach them from my phone or I can take them within my PC. But on the other hand I want to structured notes to be accessible too. I will try Obsidian, it looks promising. Does it has any semantic note searching cababilities tho?
Comment · 1 year ago
I really like the idea that taking notes in markdown format and putting them into the github. In this way we can be independent from the device. But on the other hand it might be overkill for taking little notes. For example I took wsl2 installation steps for the team members I work with. It's just 10 lines of text. I need to commit and push my notes into my repository. On the other hand, I can make my notes public and everybody can visit them. It's surely is a plus. It was a great advice, thanks for sharing. I will try it out to see if it will be working for me
Comment · 1 year ago
United states mainly provides quality weapons to the Ukraine which EU does not have. EU provides humanitarian aid. Which is also important but without American help Ukraine will lose the war against Russia
Comment · 2 years ago
Does this sound you like a solution? There is no another tech invented for reducing gas fees and increase the speed. They just now have acceess to create new fake bitcoins like 'money' and have authorize over it. What is the difference betweeen this new printed bitcoin and the money?
Comment · 2 years ago
There is something I'm not sure of about new topics. Bitcoin makes it's value mostly it's aspect of being decentralized. I think new approves does not increase original bitcoin value. Maybe the big guys wants to create another hype loop that will gather people's money.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton