Skip to content

Instantly share code, notes, and snippets.

View lipehfama's full-sized avatar
🎯
Focusing

Felipe Fama lipehfama

🎯
Focusing
  • Fortaleza-Ce
View GitHub Profile
@lipehfama
lipehfama / llm-wiki.md
Created April 30, 2026 18:42 — forked from karpathy/llm-wiki.md
llm-wiki

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.

@lipehfama
lipehfama / dropdown.jsx
Created April 18, 2023 18:00
chameleon-dropdown
/*
Prompt:
We have defined a basic dropdown via the Dropdown and DropdownItem components below, with example usage
in the ExampleNav component. The Dropdown and DropdownItem components have some problems, and also
have room for improvements (doesn't everything?) A couple items TODO here (make sure to explain with comments!)
0. How are you today? 😊
1. Please fix any obvious issues you see with the dropdown.
2. Please then make improvements to the dropdown and make it a bit more React-y. Assume this was cobbled
together or brought in hastily from StackOverflow.
@lipehfama
lipehfama / [PRÉ-WORK] Bootcamp React.js.md
Created January 16, 2023 16:15 — forked from fdaciuk/[PRÉ-WORK] Bootcamp React.js.md
Referências da semana de pré-work do Bootcamp em React.js

[PRÉ-WORK] Bootcamp React.js

Referências da semana de pré-work do Bootcamp em React.js

Sobre o pré-work

A semana de pré-work acontecerá nos dias 16/08/2021 à 20/08/2021 na Twitch do Daciuk.

Nessa semana, as lives acontecerão excepcionalmente à partir das 15h. Todas as informações sobre o Bootcamp você encontra em: https://b-academy.brainn.co/

Conduta sugerida ao pedir ajuda em comunidades de TI

0. Não é pessoal 🕊️.

Por mais que possa parecer, não: não é pessoal. Se você recebeu estas orientações de algúem, não leve pelo lado pessoal. A pessoa poderia ter ignorado a sua pergunta, mas ela provavelmente quer te ajudar e preferiu te orientar ❤️. Adicionalmente, seguir essas dicas visa (e realmente contribui para):

  • 🕜 Melhorar a qualidade da comunidade ao trazer mais produtividade e assertividade às interações e aumentar as chances de se obterem respostas aos pedidos de ajuda.
  • 🙇‍♂️ Promover a cultura de respeitar a disposição, o tempo e o esforço daqueles que se dispõem a ajudar.
  • 🎯 Tornar as interações mais objetivas, concisas, precisas e assertivas, que são valores críticos nos contextos de tecnologia da informação.

1. Não peça para perguntar. Simplesmente pergunte. 🗣️