tom dyson
8 posts

tom dyson
@tomd
all my terrible tweets are deleted https://t.co/3LXfc8Ixi6
uk Se unió Ocak 2007
300 Siguiendo825 Seguidores

prettyprompt is the beginning of a collection of tools for cleaning, sanitising and converting inputs to prompts:
github.com/tomdyson/prett…
These may be useful alongside @langchain apps like Microllama. Issue #1 is prompt injection detection.
English

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.
English

Here's Microllama, which is intended to be the easiest possible way of deploying a talk-to-your-content API:
github.com/tomdyson/micro…
It leans heavily on @langchain. IMO the most interesting bit is to do with baking the vector index into the container at build time.
English


