Hi, has anyone else been suddenly running into issues where the Llama index returned Pydantic models are based on v1 and empty? Our app randomly starts to throw
AttributeError: 'BaseModel' object has no attribute 'model_dump'
which comes from
pydantic.v1
.
Versions:
pydantic>=2.6.4
llama-index==0.10.20
llama-index-embeddings-openai==0.1.6
llama-index-llms-openai==0.1.12
llama-index-program-openai==0.1.4
llama-index-vector-stores-postgres==0.1.3
--
We follow this exact example and are running into this issue:
https://docs.llamaindex.ai/en/stable/examples/query_engine/pydantic_query_engine/