Find answers from the community

Updated last year

Is there any way to use

At a glance
Is there any way to use OpenAIPydanticProgram as part of a response synthesizer?
I want to be able to run a function call on a bunch of nodes with OpenAIPydanticProgram, and then aggregate them using the 'accumulate' strategy.
This is fairly trivial to implement myself since my output is structured, but I was wondering if there is a native way to do it
L
K
2 comments
yea it's not really integrated nicely anywhere yet -- been meaning to do this

For accumulate it makes sense. But for refine I'm not really sure what refining an object means or looks like πŸ˜…
thanks, just wanted to confirm. you're right-- in my case each call produces a list of records, so i'd just be aggregating them all together
Add a reply
Sign up and join the conversation on Discord