Skip to content

Instantly share code, notes, and snippets.

View silvercondor's full-sized avatar

silvercondor

  • Singapore
View GitHub Profile

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@MathijsdeBoer
MathijsdeBoer / Dockerfile
Created May 20, 2022 08:00
PyTorch3d Dockerfile
# syntax=docker/dockerfile:1
# PyTorch3D supports up to PyTorch 1.11, 22.02 is the last image to use 1.11 before they
# upgrade to 1.12
FROM nvcr.io/nvidia/pytorch:22.02-py3
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Amsterdam
# Get the basic Linux packages upgraded and get the development tools setup
@chrdiller
chrdiller / Blender as a Module.md
Last active May 20, 2024 12:10
Installing Blender Python Module on Ubuntu 20.04

Summary: How to install Blender as a python module into your venv:

Prerequisites

  • Install current python3.7 version with pyenv (Ubuntu 20.04 ships with 3.8)
    • Install with fPIC: env PYTHON_CFLAGS=-fPIC pyenv install 3.7.8
  • Install numpy globally for that version with pip

Installation

$ git clone https://git.blender.org/blender.git; cd blender
$ git checkout v2.82a