> not unlike other packages such as marvin This feels pretty much identical to Marvin? Like the entire API? From a genuine place of curiosity: I get that your prompts are different, but like why in the name of open source would you just not contribute to these libraries instead of starting your own from scratch?
Show HN: Fructose – LLM calls as strongly typed functions
41–50 of 105 posts
Re: Show HN: Fructose – LLM calls as strongly typed functions
#42IMHO, in the future programming may look similar to this. Write a type declaration for a function with an expressive type system, e.g. refinement types. Then use LLMs + SAT/SMT to generate provably correct code. This strikes a happy medium, where machines are assisting programmers, making them much more productive. Yet the resulting code is understandable as a human has decomposed everything into functions, and also…
Is the F# POC open source? Link?
Re: Show HN: Fructose – LLM calls as strongly typed functions
#43Earlier quoted context omitted.
Is the F# POC open source? Link?
Not yet, it's a bit rough. The LLM I am using requires a bit of extra fine-tuning to be really smooth, I need to rent a bigger GPU. Besides, I am working on some novel integration between transformers and SAT/SMT that will take me some time to finish.
(also, +1 for OS link request)
Re: Show HN: Fructose – LLM calls as strongly typed functions
#44Re: Show HN: Fructose – LLM calls as strongly typed functions
#45This is much nicer than calling GPT in the middle of my code. Honestly the aesthetics of Fructose just make the code so much neater
Re: Show HN: Fructose – LLM calls as strongly typed functions
#46Earlier quoted context omitted.
Yes. TGI is Huggingface's version of LLVM (some nuance, of course). LLVM also launched grammar support recently too, so we'll be looking into it.
All of these acronyms are so confusing. I'm assuming LLVM isn't the compiler tool, but searching "LLVM ai" doesn't give me any good results.
Re: Show HN: Fructose – LLM calls as strongly typed functions
#47IMHO, in the future programming may look similar to this. Write a type declaration for a function with an expressive type system, e.g. refinement types. Then use LLMs + SAT/SMT to generate provably correct code. This strikes a happy medium, where machines are assisting programmers, making them much more productive. Yet the resulting code is understandable as a human has decomposed everything into functions, and also…
Re: Show HN: Fructose – LLM calls as strongly typed functions
#48Good stuff. How does this compare to Instructor? I’ve been using this extensively https://jxnl.github.io/instructor/
answered in different thread. tldr: not that different for now. we're likely to do some serverside optimizations, esp. given our gpu inference history.
Re: Show HN: Fructose – LLM calls as strongly typed functions
#49Earlier quoted context omitted.
Mentioned packages https://github.com/eth-sri/lmql https://github.com/outlines-dev/outlines https://github.com/guidance-ai/guidance
here's an awesome post on the landscape https://hamel.dev/blog/posts/prompt/
I'd like to see an injectable mitm like proxy that can rewrite payloads. Many of these frameworks are useful, but when they go off the rails, they hard to modify and introspect.
It would be nice if LLMs had a way to speak an annotated format, like XML that was able to encode higher level information in a coherent manner over "well formed" addhoc text.
LLM libraries are in a crazy state right now. It is like JS frameworks 2015, a new one that demos well every other day.