Find answers from the community

Updated 6 months ago

Hi all, Is there a way to have the

At a glance

The community member is asking if there is a way to have the intermediate or final layers of a Query Pipeline output a Pydantic object, specifically using the OpenAIPydanticProgram. They encountered an error when trying to do this. A comment indicates that this is not currently possible, but it is on the todo list as the abstraction is still quite new. Another comment simply says "Great, thank you."

Hi all, Is there a way to have the intermediate or final layers of a Query Pipeline output a Pydantic object? For e.g, is there a way I can use OpenAIPydanticProgram in my Query Pipeline? I tried and got the following error:
AttributeError: 'OpenAIPydanticProgram' object has no attribute 'set_callback_manager'
L
n
2 comments
its not possible currently, but its on the todo list (this abstraction is still quite new)
Great, thank you.
Add a reply
Sign up and join the conversation on Discord