/hackernews-llm-search

Hacker News AI Search

Primary LanguagePython

Hacker News AI Search

YouTube Tutorial

IMAGE ALT TEXT HERE

Setup

  1. git clone https://github.com/AllAboutAI-YT/hackernews-llm-search.git
  2. cd dir
  3. create venv if needed
  4. pip install -r requirements.txt
  5. SET Your API KEY in .env
  6. Install Ollama if needed (https://ollama.com/download)
  7. Adjust top_k and chunksize if needed
  8. run raghack.py

My YouTube Channel

https://www.youtube.com/c/AllAboutAI

Hacker News

Hacker News is a specialized social news platform that serves the tech community, providing a space for discussion, sharing, and discovery of content relevant to programmers, entrepreneurs, and others in the industry. https://news.ycombinator.com/

Sentence Transformer

https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

What is RAG?

RAG is a way to enhance the capabilities of LLMs by combining their powerful language understanding with targeted retrieval of relevant information from external sources often with using embeddings in vector databases, leading to more accurate, trustworthy, and versatile AI-powered applications

What is Ollama?

Ollama is an open-source platform that simplifies the process of running powerful LLMs locally on your own machine, giving users more control and flexibility in their AI projects. https://www.ollama.com