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'