News for hackers. Stuff that matters.
Re:Language models on the command line by evmar on Monday June 24, 2024 @11:43PM (#40784249)
In case it helps any, here are some more details about what I used it for. (Summary: providing examples of a specific translation task, to make it use a particular API in the output.) https://inuh.net/@evmar/112001414385042731

And what I expected of llm is for the template file to (optionally) contain an array of prompt/response pairs. You could even imagine the --save flag constructing one from an ongoing conversation of llm -c maybe.

Re:Language models on the command line by simonw on Tuesday June 25, 2024 @12:24AM (#40784463)
Yeah, doing this with templates is a great idea.