{"by":"110","descendants":150,"id":36933452,"kids":[36935349,36937623,36936620,36938596,36935361,36934755,36934614,36935646,36949673,36934770,36935079,36942313,36938652,36937380,36944052,36934733,36934543,36934896,36941193,36939227,36937590,36936099,36938410,36935326,36942766,36938977,36940224,36938145,36935591,36943393,36939928,36936410,36944333,36954942,36935802,36934591,36935128],"score":565,"text":"Hi folks, we&#x27;re Debanjum and Saba. We created Khoj as a hobby project 2+ years ago because: (1) Search on the desktop sucked; we just had keyword search on the desktop vs google for the internet; and (2) Natural language search models had become good and easy to run on consumer hardware by this point.<p>Once we made Khoj search incremental, I completely stopped using the default incremental search (C-s) in Emacs. Since then Khoj has grown to support more content types, deeper integrations and chat (using ChatGPT). With Llama 2 released last week, chat models are finally good and easy enough to use on consumer hardware for the chat with docs scenario.<p>Khoj is a desktop application to search and chat with your personal notes, documents and images. It is accessible from within Emacs, Obsidian or your Web browser. It works with org-mode, markdown, pdf, jpeg files and notion, github repositories. It is open-source and can work without internet access (e.g on a plane).<p>Our chat feature allows you to extract answers and create content from your existing knowledge base. Example: <i>&quot;What was that book Trillian mentioned at Zaphod&#x27;s birthday last week&quot;</i>. We personally use the chat feature regularly to find links, names and addresses (especially on mobile) and collate content across multiple, messy notes. It works online or offline: you can chat without internet using Llama 2 or with internet using GPT3.5+ depending on your requirements.<p>Our search feature lets you quickly find relevant notes, documents or images using natural language. It does not use the internet. Example: Search for <i>&quot;bought flowers at grocery store&quot;</i> will find notes about <i>&quot;roses at wholefoods&quot;</i>.<p>Quickstart:<p><pre><code>  pip install khoj-assistant &amp;&amp; khoj\n</code></pre>\nSee <a href=\"https:&#x2F;&#x2F;docs.khoj.dev&#x2F;#&#x2F;setup\">https:&#x2F;&#x2F;docs.khoj.dev&#x2F;#&#x2F;setup</a> for detailed instructions<p>We also have desktop apps (in beta) at <a href=\"https:&#x2F;&#x2F;github.com&#x2F;khoj-ai&#x2F;khoj&#x2F;releases&#x2F;tag&#x2F;0.10.0\">https:&#x2F;&#x2F;github.com&#x2F;khoj-ai&#x2F;khoj&#x2F;releases&#x2F;tag&#x2F;0.10.0</a> if you want to try them out.<p>Please do try out Khoj and let us know if it works for your use cases? <i>Looking forward to the feedback!</i>","time":1690737262,"title":"Show HN: Khoj – Chat offline with your second brain using Llama 2","type":"story","url":"https://github.com/khoj-ai/khoj"}