tom dyson (@tomd) header
tom dyson (@tomd) profile picture

all my terrible tweets are deleted https://nitter.gq/t.co/3LXfc8Ixi6

uk
Joined January 2007
prettyprompt is the beginning of a collection of tools for cleaning, sanitising and converting inputs to prompts: github.com/tomdyson/prettypr… These may be useful alongside @langchain apps like Microllama. Issue #1 is prompt injection detection.
1
2
518
Microllama now supports streaming responses. Working this out took me as long as the original @langchain / @FastAPI proof of concept! I've moved sources first to 1. highlight authority of response (vs standard chatGPT) 2. give you something to look at while the answer loads.
518
Here's Microllama, which is intended to be the easiest possible way of deploying a talk-to-your-content API: github.com/tomdyson/microlla… It leans heavily on @langchain. IMO the most interesting bit is to do with baking the vector index into the container at build time.
1
11
1,114
I'm hosting my test Microllamas on Google Cloud Run, which feels like the perfect platform for Langchain-style apps (OpenAI wrappers + FAISS indexes). Hosting is basically free until you're famous, and then OpenAI costs are your problem.
1
4
245
Here's Microllama using data from NHS Conditions.
3
204
this claim of election fraud is disputed
3
2
1
12