Bookmark
Step-by-step guide to building a text summarizer using Langchain and Ollama
https://www.askpython.com/resources/building-text-summarizer-with-langchain-and-ollama, posted 29 Nov by peter in ai development howto python toread
In this post, we will try to build a text summarizer using an LLM in a Python environment. If we can set up the LLM in an interactive environment, we can extend the functionalities to build an interface for this task using Gradio.
Bookmark
Prompt chaining
https://www.ibm.com/think/topics/prompt-chaining, posted 28 Nov by peter in ai development nlp reference toread
Prompt chaining can enhance the effectiveness of AI assistance in various domains. By breaking down complex tasks into smaller prompts and chaining them together, developers can create more personalized and accurate responses tailored to individual users’ needs. This approach not only improves the overall user experience but also allows for greater customization and adaptability in response to changing user requirements or application scenarios[3].
Bookmark
dotprompt: Executable GenAI prompt templates
https://github.com/google/dotprompt, posted 28 Nov by peter in ai development free opensource shell software
Dotprompt is an executable prompt template file format for Generative AI. It is designed to be agnostic to programming language and model provider to allow for maximum flexibility in usage. Dotprompt extends the popular Handlebars templating language with GenAI-specific features.
Bookmark
.txt - Structured Outputs for Production LLMs
https://dottxt.ai/, posted 23 Nov by peter in ai development toread
Traditional approaches waste precious development cycles on parsing and validating LLM outputs. .txt's products make data flow seamlessly through your system by providing complete control over LLMs' outputs.
Our products ensure LLMs consistently generate outputs matching any JSON Schema, regular expression, or grammar—without significant overhead.
Bookmark
iagooar/qqqa: Fast, stateless LLM for your shell
https://github.com/iagooar/qqqa, posted 15 Nov by peter in ai development free opensource shell software
qqqa is a two-in-one, stateless CLI tool that brings LLM assistance to the command line without ceremony.
The two binaries are:
qa- a single step agent that can optionally use tools to finish a task: read a file, write a file, or execute a command with confirmation (qa stands for "quick agent")
Bookmark
Argh: The Natural CLI
https://pythonhosted.org/argh/, posted 2 Sep by peter in development free opensource python reference
Argh provides a wrapper for argparse. Argparse is a very powerful tool; Argh just makes it easy to use.
Bookmark
box-decoration-break
https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break, posted Apr '25 by peter in css development html reference webdesign
The
box-decoration-breakCSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.
Not the biggest problem in the world, but it's annoying when you're trying to use borders around words or phrases in paragraphs of text and the result looks like crap because of line breaks. Glad to know there's a simple solution.
I randomly learned this trick today from a newsletter by Victor Ponamariov so thanks for that!
Bookmark
Nand2Tetris
https://www.nand2tetris.org/, posted Mar '25 by peter in development education free hardware opensource software
This website contains all the lectures, project materials and tools necessary for building a general-purpose computer system and a modern software hierarchy from the ground up.
The materials are aimed at students, instructors, and self-learners. Everything is free and open-source, as long as you operate in a non-profit setting.
Bookmark
Pulumi IaC: Infrastructure as Code
https://www.pulumi.com/product/infrastructure-as-code/, posted Oct '24 by peter in deployment development hosting management opensource software
Build and ship infrastructure faster using languages you know and love. Use Pulumi’s open source SDK to provision infrastructure on any cloud.
Bookmark
Coreutils Gotchas
https://www.pixelbeat.org/docs/coreutils-gotchas.html, posted Aug '24 by peter in development documentation howto reference shell toread
We make very careful considerations about the interface and operation of the GNU coreutils, but unfortunately due to backwards compatibility reasons, some behaviours or defaults of these utilities can be confusing.