MadcowD / ell

A language model programming library.
http://docs.ell.so/
MIT License
5.02k stars 295 forks source link

Integrating a structured output response to ELL for efficient data transfer #290

Closed Anindyadeep closed 2 weeks ago

Anindyadeep commented 2 weeks ago

ell is super simple, which is impressive and fresh. I was watching out this library called instructor and I feel they really go with each other.

Where it could be used?

Well everywhere which is related to prompt chaining. I was watching a tutorial and from there I realise that functions decorated over ell.simple mostly returns string, but what if we want to return some dict or a nested dict-like object and then pass it to the next chain? In those cases, enforcing structured responses makes things easier.

Additionally, it could also help on the studio too, for tracing out the data-transfers. What do you think on this?

Anindyadeep commented 2 weeks ago

Oh my bad it's ell.complex. closing this issue :)