updated 2024-09-20
Version 2409? (Build 16.0.17928.20148)
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.
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.
| #[macro_export] | |
| macro_rules! avec { | |
| ($($element:expr),*) => {{ | |
| // check that count is const | |
| const C: usize = $crate::count![@COUNT; $($element),*]; | |
| #[allow(unused_mut)] | |
| let mut vs = Vec::with_capacity(C); | |
| $(vs.push($element);)* | |
| vs |
| # How to Activate Windows 11 for FREE | |
| ## Step 1: Click on the Start button, search for “cmd“, and click on “Run as Administrator“. | |
| ## Step 2: Type: slmgr /ipk [KEY] | |
| Replace the [KEY] with your key as per your windows version as mentioned below. | |
| The following is the list of Windows 11 Volume license keys. | |
| * Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 |
| #!/usr/bin/env node | |
| /** | |
| * Typora macOS 激活脚本 | |
| * 原理:替换二进制中的 RSA 公钥,用自己的私钥签名生成 Activation Token | |
| */ | |
| const crypto = require('crypto'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const { spawnSync } = require('child_process'); |
| import useScrollRestoration from "utils/hooks/useScrollRestoration"; | |
| const App = ({ Component, pageProps, router }) => { | |
| useScrollRestoration(router); | |
| return <Component {...pageProps} />; | |
| }; | |
| export default App; |
| # this file contains keys needed for decryption of disc file system data (WUD/WUX) | |
| # 1 key per line, any text after a '#' character is considered a comment | |
| # the emulator will automatically pick the right key | |
| 541b9889519b27d363cd21604b97c67a # example key (can be deleted) | |
| 219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild | |
| 566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU | |
| 082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN |
| #! /bin/zsh | |
| # Buttery powered state | |
| adb shell dumpsys battery | grep powered | |
| # Unplug battery | |
| adb shell dumpsys battery unplug | |
| # Reset battery | |
| adb shell dumpsys battery reset |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[