Ask HN: What have you built with LLMs?
Curious what people have been building with LLMs.
I worked on a chrome extension a few weeks ago that skips sponsorship sections in YouTube videos by reading through the transcript. Also was trying to experiment with an LLM to explain a function call chain across languages (in this case MakeFile, Python, Bash). I've tried running a few telegram bots that are PRE prompted to do certain things like help you with taxes.
What are you building?
What does the stack look like? How do you deploy it?
348 comments
[ 4.7 ms ] story [ 312 ms ] threadThe stack is: 1. TypeScript/Node/tRPC/Postgres/Redis/OpenAI on the backend 2. SolidJS/Crxjs/tRPC on the front end 3. Astro for the docs/marketing site
And deployment is currently through render.com for the databases and servers, and manually via a zip file to the Chrome webstore for the extension itself.
[0] https://smudge.ai
Deployment is usually FastAPI for business logic, Langchain or MS/Guidance library, LLM hosted via. HF-TGI server
It is a Next.js application, calling OpenAI’s API using a plain API route.
[1] https://spliit.app
[2] https://spliit.app/blog/announcing-receipt-scanning-using-ai
[1] https://just-tell-me.deno.dev/
[2] https://github.com/franekmagiera/just-tell-me
I made a private Discord bot for me and my friends to talk to, that also generates images using SD 1.5 LCM.
The self-hosted backend uses the ComfyUI Python API directly for images, and the LLM part uses oobabooga's web API.
It's really MVP, but I want to see if anyone is interested at all before I work on v2: creating gpts that come with databases!
The stack is react / cloud run / job queue / LLMs (several) / vector db.
You might want to connect that to SponsorBlock
https://sponsor.ajay.app/
https://github.com/psugihara/FreeChat
I'm also working on a little text adventure game that I hope to release soon.
GPT-4 excels as a translator, but it often encounters issues with content warnings and formatting errors when translating entire subtitle files via ChatGPT. The solution is straightforward: divide the subtitle file into sections, focusing solely on translating the text and disregarding the timestamps. While it's feasible to have ChatGPT maintain the correct format, I've observed a decline in translation quality when attempting this in a single pass. My preferred approach is a two-phase method: first, translate the text, and then, if necessary, request ChatGPT to adjust the formatting.
The webapp splits the srt file into batches of 20 phrases and translates each batch. It also allows for manual correction of the final translation.
Ah and it's also serverless: you input your OpenAI token & select the model of your choice and the webapp makes the requests to OpenAI directly.
Little demo is up at npcquick.app.
Doesn’t look like much rn, but there’s no openai involved. Currently it doesn’t even use a gpu.
It should be cheap enough to deploy that it can be applied to relatively low-value content like video meeting recordings, so it can’t spend a lot of expensive GPU time analyzing video frames.
It also needs to be easily customizable for various content verticals and visual styling like branding and graphics overlays.
And everything is meant to be open sourced, so that’s fun!
I wrote about it on my employer’s blog here:
https://www.daily.co/blog/automatic-short-form-video-highlig...
I consult to a law firm as their founder-in-residence. For fun, I trained Llama 2 on all the non-client data of the firm so that people could ask it questions like "Who are the lawyers in Montreal who litigate American securities laws, what are their email addresses and what time is it where they are?" It's a njs app running on linode.
It's extremely simple, but people seem to find it useful.
I've built some abstract content development tools, generally focused on building larger content somewhat top-down (defining vibes, then details).
I'm working on a general project helper using the GPT-Vision, voice, and regular GPT. You setup the camera above your workspace, work on paper, and chat with the LLM while you do it. I think there's a lot of potential, but the voice stuff is quite hard to deal with... there's just a ton of stuff happening in parallel, and I find it very hard to code something reliable.
The stack I use is all in the browser, generally Next.js, Preact Signals, and my own code to call into GPT, Whisper, etc. I like having everything available for inspection, and I generally keep all the working bits visible somewhere. (This can be overwhelming when other people see it.)
But I haven't gotten over the deployment hump... the cost and complexity is a challenge. I've used Openrouter.ai recently in a project, and I think if I leaned on that more completely I'd find the release process easier.
I ended up using it for more general purpose things because being able to have a hands-free phone call with an AI turned out to be pretty useful.
It's offline now, but here's the code with all the stack and deployment info: https://github.com/kevingduck/ChatGPT-phone/
Edit: forgot to mention this was all running off a $35 raspberry pi.
But it sounds damn creative as a project.
And you're right, I'm not a sales guy. This project is for people like me who want a risk-free place to learn the basics of sales so that when I do talk to an actual human, I won't panic and freeze up like I always do.
Most high-level sales people rely on role play partners but that requires a pretty a big commitment. This would make a great product, imo.
Also (tip): Study, memorize and internalize a sales script for your product/service...along with the objection handlers and closing questions. Practice every single day. You'll gain massive confidence because you know exactly what you are going to say, every time.
That's turning out to be a valuable feature of LLMs in many areas. You can practice complex interactions with them without worrying about boring or annoying them. Even the most patient human teacher gets tired eventually. LLMs don't.
Please consider putting it in online.
For me there's none is more boring than marking/evaluating/grading manuscripts. I prefer hard labor like gardening or farming than doing that activities although I'm quite good at evaluating stuffs I think.
Can you please elaborate how you do this and based on what metrics/scheme/etc the answers are being evaluated?
It could work both for practice and for automating interviews as well
1. sketch (in notebook, ai for pandas) https://github.com/approximatelabs/sketch
2. datadm (open source, "chat with data", with support for the open source LLMs (https://github.com/approximatelabs/datadm)
3. Our main product: julyp. https://julyp.com/ (currently under very active rebrand and cleanup) -- but a "chat with data" style app, with a lot of specialized features. I'm also streaming me using it (and sometimes building it) every weekday on twitch to solve misc data problems (https://www.twitch.tv/bluecoconut)
For your next question, about the stack and deploy: We're using all sorts of different stacks and tooling. We made our own tooling at one point (https://github.com/approximatelabs/lambdaprompt/), but have more recently switched to just using the raw requests ourselves and writing out the logic ourselves in the product. For our main product, the code just lives in our next app, and deploys on vercel.
https://domsy.io
Currently running on my little digital ocean droplet. Stack is javascript/python.
https://domsy.io/share/ddf54149-5de9-4f3a-b936-f007a451c0b5
It does the work of understanding questions in the context of a repo, code snippet, or any programming question in general, and pulls in extra context from the internet with self thought + web searches.