Tuning Local LLMs With RAG Using Ollama and Langchain

import os from datetime import datetime from werkzeug.utils import secure_filename from langchain_community.document_loaders import UnstructuredPDFLoader from langchain_text_splitters import RecursiveCharacterTextSplitter from get_vector_db import get_vector_db TEMP_FOLDER = os.getenv(‘TEMP_FOLDER’, ‘./_temp’) def allowed_file(filename): return filename.lower().endswith(‘.pdf’)…

Birth of Unix

Birth of Unix

This brought up new issues. AT&T, the company that financed Bell Labs, couldn’t sell an operating system. In 1956, AT&T was forced by the US government to agree to a…

Setting Up Ollama With Docker

Setting Up Ollama With Docker

docker ps Method 2: Running Ollama with Docker compose Ollama exposes an API on http://localhost:11434, allowing other tools to connect and interact with it. That was when I got hooked…

How to Check OS Version in Linux via Command Line

How to Check OS Version in Linux via Command Line

The command cat /etc/os-release provides comprehensive information about your Linux distribution, including the full OS version and name. Alternatively, lsb_release -a offers detailed distribution-specific information in a user-friendly format.Most Linux desktop environments,…