richin13·ano passado·discussNot the original commenter but I’ve done this too with Pydantic AI (actually the library does it for you). See “Streaming Structured Output” here https://ai.pydantic.dev/output/#streaming-structured-output
richin13·ano passado·discussThe blog says it should be available now but I'm not seeing it. In Vertex AI it's already available.
richin13·ano passado·discussFair enough. I asked because an extension like this has access to too much information which I don't like from a privacy stand point.Thanks for sharing though!