frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Geetanjali – RAG-powered ethical guidance from the Bhagavad Gita

https://geetanjaliapp.com
2•vnykmshr•4h ago
I built a RAG application that retrieves relevant Bhagavad Gita verses for ethical dilemmas and generates structured guidance.

The problem: The Gita has 701 verses. Finding applicable wisdom for a specific situation requires either deep familiarity or hours of reading.

How it works: 1. User describes their ethical dilemma 2. Query is embedded using sentence-transformers 3. ChromaDB retrieves top-k semantically similar verses 4. LLM generates structured output: 3 options with tradeoffs, implementation steps, verse citations

Tech stack: - Backend: FastAPI, PostgreSQL, Redis - Vector DB: ChromaDB with all-MiniLM-L6-v2 embeddings - LLM: Ollama (qwen2.5:3b) primary, Anthropic Claude fallback - Frontend: React + TypeScript + Tailwind

Key design decisions: - RAG to prevent hallucination — every recommendation cites actual verses - Confidence scoring flags low-quality outputs for review - Structured JSON output for consistent UX - Local LLM option for privacy and zero API costs

What I learned: - LLM JSON extraction is harder than expected. Built a three-layer fallback (direct parse → markdown block extraction → raw_decode scanning) - Semantic search on religious texts works surprisingly well for ethical queries - Smaller models (3B params) work fine when constrained by good prompts and retrieved context

GitHub: https://github.com/geetanjaliapp/geetanjali

Happy to discuss the RAG architecture or take feedback.

Comments

shivaji_12•2h ago
Wow it looks great

Stablecoins Can Help Criminals Launder Money and Evade Sanctions

https://www.nytimes.com/2025/12/07/technology/how-a-cryptocurrency-helps-criminals-launder-money-...
1•fleahunter•27s ago•0 comments

Python AsyncIO: Parallelism, Multiprocessing, Concurrency and Threading

https://realpython.com/async-io-python/
1•BinaryIgor•1m ago•1 comments

AddressGen.top – Now supporting 40 countries for random address generation

https://addressgen.top
1•addressGen•3m ago•0 comments

The secret inside one million boxes

https://eieio.games/blog/the-secret-inside-one-million-checkboxes/
1•damethos•7m ago•0 comments

Characters? In This Economy?

https://www.bitecode.dev/p/80-characters-in-this-economy
2•BiteCode_dev•10m ago•0 comments

GPS interference in the Baltic Sea becoming more complex and stronger

https://www.heise.de/en/news/Study-GPS-interference-in-the-Baltic-Sea-becoming-more-complex-and-s...
1•altilunium•11m ago•0 comments

What HBO's "Chernobyl" Got Right, and What It Got Terribly Wrong (2019)

https://www.newyorker.com/news/our-columnists/what-hbos-chernobyl-got-right-and-what-it-got-terri...
1•zeristor•19m ago•2 comments

AI is saving time and money in research – but at what cost?

https://www.nature.com/articles/d41586-025-03936-2
1•XzetaU8•21m ago•1 comments

Researchers find critical backdoor in Swiss online voting system

https://motherboard.vice.com/en_us/article/zmakk3/researchers-find-critical-backdoor-in-swiss-onl...
1•fanf2•21m ago•0 comments

Certificate Ripper v2.6.0 released – tool to extract server certificates

https://github.com/Hakky54/certificate-ripper
2•hakky54•26m ago•1 comments

The Judge at the End of Europe

1•dostick•26m ago•0 comments

LLM Fingerprints in Text

https://www.budgetflow.cc/blog/llm-fingerprints-in-text
2•mkrd•27m ago•0 comments

Money Doesn't Buy Elections. It Does Something Worse

https://data4democracy.substack.com/p/money-doesnt-buy-elections-it-does
1•doener•29m ago•0 comments

Bombed Chornobyl shelter no longer blocks radiation and needs major repair

https://www.theguardian.com/world/2025/dec/06/chornobyl-disaster-shelter-no-longer-blocks-radiati...
1•doener•32m ago•0 comments

Long Now Foundation

https://en.wikipedia.org/wiki/Long_Now_Foundation
2•doener•44m ago•0 comments

I forked instead of taking the easy way out

https://en.andros.dev/blog/7134f59f/why-i-forked-instead-of-taking-the-easy-way-out/
1•andros•45m ago•0 comments

Alan Dye Was in Tim Cook's Blind Spot

https://daringfireball.net/2025/12/dye_cook_blind_spot
2•andsoitis•48m ago•0 comments

Bad Dye Job

https://daringfireball.net/2025/12/bad_dye_job
1•andsoitis•51m ago•0 comments

Virtual Cell Challenge 2025 Wrap-Up: Winners and Reflections

https://arcinstitute.org/news/virtual-cell-challenge-2025-wrap-up
1•const-ae•51m ago•0 comments

Show HN: AI Paul Graham

https://www.paulgraham-nia.com/
2•arlanrakh•51m ago•0 comments

Show HN: Quirky – server monitoring for real people

https://github.com/quirky-dev/quirky
1•remy_v•55m ago•0 comments

A Struct Sockaddr Sequel

https://lwn.net/Articles/1045453/
2•g0xA52A2A•57m ago•0 comments

What Wall Street investors gain from playing games

https://www.bloomberg.com/features/2025-games-wall-street-plays/
2•PaulRobinson•1h ago•0 comments

KJS: A Complete Formal Semantics of JavaScript

https://github.com/kframework/javascript-semantics
3•andsoitis•1h ago•0 comments

GitHub Shop

https://thegithubshop.com/
2•swatson741•1h ago•3 comments

Tanglewood for Sega Mega Drive – Interview with Matt Phillips [video]

https://www.youtube.com/watch?v=5xIQoGaKYYA
1•franczesko•1h ago•0 comments

Nightclub blaze in India's Goa kills 25, including four tourists

https://qazinform.com/news/nightclub-blaze-in-indias-goa-kills-25-including-four-tourists-c71687
2•Bolat14•1h ago•0 comments

China's scientific clout is growing as US influence wanes: the data show how

https://www.nature.com/articles/d41586-025-03956-y
3•thunderbong•1h ago•0 comments

More People Feel Safe Even as Global Conflicts Rise

https://news.gallup.com/poll/695240/people-feel-safe-even-global-conflicts-rise.aspx
2•hunglee2•1h ago•0 comments

Rnj-1: Building Instruments of Intelligence

https://www.essential.ai/research/rnj-1
1•tamnd•1h ago•0 comments