Skip to content

Instantly share code, notes, and snippets.

View 66my's full-sized avatar
🐼
Working for FAW

墨非未已 66my

🐼
Working for FAW
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.

@nicekate
nicekate / app.py
Last active September 21, 2024 06:13
这是用pixtral streamit应用,记得先在本地添加一个.env的文档,将你的API key放在里面。
import os
import base64
import streamlit as st
from mistralai import Mistral
from PIL import Image
import io
from dotenv import load_dotenv
# 加载 .env 文件
load_dotenv()
@jamiephan
jamiephan / README.md
Last active April 12, 2026 14:40
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
def compare_on_dataset(data, target_variable=None, lr=0.001, patience=150):
from IPython.display import display
df = (
pd.read_csv(data)
# Rename columns to lowercase and underscores
.pipe(lambda d: d.rename(columns={
k: v for k, v in zip(
@Tschrock
Tschrock / 1_ThinkpadTwist_Ubuntu14.04.md
Last active July 10, 2025 14:10
Installing Ubuntu 14.04 on a Thinkpad Twist (s230u)

Installing Ubuntu 14.04 on a Thinkpad Twist (s230u)

Input device information

  • Touchscreen
    • 'Atmel Atmel maXTouch Digitizer'
    • Touch mode: direct
    • Max number of touches: 16

Button and Key identifiers