Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| import argparse | |
| from pdfminer.high_level import extract_text | |
| from sentence_transformers import SentenceTransformer, CrossEncoder, util | |
| from text_generation import Client | |
| PREPROMPT = "Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful.\n" | |
| PROMPT = """"Use the following pieces of context to answer the question at the end. | |
| If you don't know the answer, just say that you don't know, don't try to |
Here's my AGENTS.md (also linked from CLAUDE.md as @AGENTS.md) for hacking
agentically on MDFlow recipes.
I have this in ~/.mdflow/, and the agents/recipes live in ~/.mdflow/agents/ and added to the path
so that they can be invoked as commands.
With this I can use a coding agent like Claude Code or GitHub Copilot in VSCode and say something like:
> create a new agent using copilot that reviews all the code files in this directory as a poem