Hacker News
Why All Engineers Need to Learn Sales
Article URL: https://www.nooks.ai/blog-posts/why-all-engineers-need-to-learn-sales
Comments URL: https://news.ycombinator.com/item?id=43707931
Points: 3
# Comments: 0
How to align with user preference in a RAG system?
Current embedding-based RAG systems primarily rely on semantic similarity. Given a document and a query, the system usually retrieves multiple sections that appear semantically relevant. However, in domain-specific applications, such as financial analysis or legal research, users often have domain-specific preferences for which parts of a document to consult first. These preferences are typically driven by experience about where answers are typically found or which sections are considered more trustworthy sources of information.
For example:
- When querying about financial performance metrics (e.g., earnings adjustments), experienced analysts typically look first at the Management’s Discussion and Analysis (MD&A) section or related financial statement footnotes.
- For questions about company risks, they usually prioritize the Risk Factors section before turning to broader disclosures.
These expert-driven navigation patterns are difficult to capture using embedding-based RAG alone. Fine-tuning embedding models to reflect such preferences is possible, but it tends to be costly and resource-intensive.
An alternative approach is to incorporate reasoning-based retrieval, which mimics how humans find information. For example, when reading a long document, a human typically starts by reviewing the table of contents to determine which sections to read first, based on the context of the query and preference. Similarly, one can build an LLM agent that analyzes the "table of contents" and then navigates through the document according to expert preferences. This can be achieved by using few-shot prompting, where the system learns from sample user preference examples provided in the prompt, allowing it to prioritize sections based on the user’s needs.
To support this paradigm, we developed an open-sourced tool called PageIndex. It can transform any long documents into an LLM-friendly "table-of-contents" tree index, which is ready for the LLM agents to navigate. With PageIndex, you can easily build RAG agents that align with user preferences and domain logic.
Would love any feedback, particularly thoughts on reasoning-based RAG or other potential applications of PageIndex.
Comments URL: https://news.ycombinator.com/item?id=43707928
Points: 7
# Comments: 1
Vibe Check: o3 is here and it's great
Article URL: https://every.to/chain-of-thought/vibe-check-o3-is-out-and-it-s-great
Comments URL: https://news.ycombinator.com/item?id=43707925
Points: 2
# Comments: 1
Most detailed brain map constructed from speck of mouse tissue
Article URL: https://www.cnn.com/2025/04/15/science/3d-brain-map-mouse-mammal-breakthrough/index.html
Comments URL: https://news.ycombinator.com/item?id=43707919
Points: 1
# Comments: 1
New open-source model GLM-4-32B with performance comparable to Qwen 2.5 72B
Article URL: https://github.com/THUDM/GLM-4
Comments URL: https://news.ycombinator.com/item?id=43707907
Points: 1
# Comments: 0
Birth of Basic [video]
Article URL: https://www.youtube.com/watch?v=WYPNjSoDrqw
Comments URL: https://news.ycombinator.com/item?id=43707894
Points: 1
# Comments: 0
Trump derails Chinese H20 GPU sales, forcing Nvidia to eat $5.5B this quarter
Article URL: https://www.theregister.com/2025/04/16/trump_responds_to_nvidias_us/
Comments URL: https://news.ycombinator.com/item?id=43707891
Points: 7
# Comments: 0
Show HN: Interview Terminator
Article URL: https://interm.ai/
Comments URL: https://news.ycombinator.com/item?id=43707884
Points: 1
# Comments: 0
Ask HN: Handling new director who doesn't seem great?
Hi,
About two months ago my company hired a new director, my skip manager.
A lot of things are off about him, IMO:
- he hasn't met the engineers on the team except for his three teams' leads, including me. - he worked in the same broader area, but in a different domain, and is insistent on applying things that worked in that other domain to this company. - he's top-down and doesn't know much about the facts on the ground. - he gives inconsistent information and direction to me and my direct manager. - he's introducing processes that aren't necessary. - he doesn't ask questions about the platform. - he's extremely focused on one particular aspect of the platform but doesn't know anything about the other goals of the platform - he second-guesses our hiring decisions before we make an offer; in one case, he re-interviewed a candidate we had approved of; in another, he was skeptical about an internal candidate.
Normally I'd give a new director a lot of leeway since they're still gathering context and information, and they were approved by my org's leadership in interviews. But enough is odd that I don't know if I'm going about things the best way.
So far I've attempted to extend our 1:1s to try to broaden his concerns to other parts of the platform, and to show the span of work we could do is much larger, and his suggestions aren't necessarily the best things we can work on, or at least should be contingent on doing some diligence before acting on them. That works to some extent. I thought it might be that he came in with some amount of distrust for me and this team -- that still might be the case, but it's clear that among his three teams, mine is the least problematic, at least right now.
But enough things smell wrong that I don't know if I should be doing something else, like giving him direct feedback, especially about being curious and orienting him towards being more bottom-up, or even going above his head.
Anyone have experience with a situation like this?
Comments URL: https://news.ycombinator.com/item?id=43707878
Points: 1
# Comments: 0
Think twice before wearing outdoor shoes indoors
Article URL: https://theconversation.com/why-you-should-think-twice-before-wearing-outdoor-shoes-indoors-254427
Comments URL: https://news.ycombinator.com/item?id=43707834
Points: 1
# Comments: 0
HNPES – Hacker News Previous Entry Search – Chrome Web Store
Article URL: https://chromewebstore.google.com/detail/hnpes-hacker-news-previou/ndjkjkemnioillnkfeppiocomehgfegi
Comments URL: https://news.ycombinator.com/item?id=43707824
Points: 1
# Comments: 0
Rel: A Programming Language for Relational Data
Article URL: https://arxiv.org/abs/2504.10323
Comments URL: https://news.ycombinator.com/item?id=43707820
Points: 1
# Comments: 1
We need to stop pretending AI is intelligent
Article URL: https://theconversation.com/we-need-to-stop-pretending-ai-is-intelligent-heres-how-254090
Comments URL: https://news.ycombinator.com/item?id=43707817
Points: 1
# Comments: 0
Crosswalk systems in several US cities have been hacked
Article URL: https://old.reddit.com/r/Seattle/comments/1k0n0fu/someone_hacked_the_crosswalks_in_the_u_district/
Comments URL: https://news.ycombinator.com/item?id=43707813
Points: 1
# Comments: 1
The UCSD p-System, Apple Pascal, and a dream of cross-platform compatibility
Article URL: https://markbessey.blog/2025/04/14/a-blast-from-the-past/
Comments URL: https://news.ycombinator.com/item?id=43707805
Points: 1
# Comments: 0
Governments Spy on Protestors–and How to Avoid It [video]
Article URL: https://www.youtube.com/watch?v=lL34WpoETds
Comments URL: https://news.ycombinator.com/item?id=43707793
Points: 1
# Comments: 0
White House calls NPR and PBS a "grift," will ask Congress to rescind funding
Millions watch as Swedish moose begin annual migration
Article URL: https://www.bbc.co.uk/news/articles/cewgn0v5j9po
Comments URL: https://news.ycombinator.com/item?id=43707784
Points: 1
# Comments: 1
OpenAI debuts Codex CLI, an open source coding tool for terminals
Article URL: https://techcrunch.com/2025/04/16/openai-debuts-codex-cli-an-open-source-coding-tool-for-terminals/
Comments URL: https://news.ycombinator.com/item?id=43707775
Points: 1
# Comments: 0
Show HN: Ivy Lee method for Slack teams
Article URL: https://tryivy.app/
Comments URL: https://news.ycombinator.com/item?id=43707769
Points: 1
# Comments: 0