diff --git a/llama-index-core/llama_index/core/schema.py b/llama-index-core/llama_index/core/schema.py index b6fea5a215d67..b196ef4276b61 100644 --- a/llama-index-core/llama_index/core/schema.py +++ b/llama-index-core/llama_index/core/schema.py @@ -25,7 +25,7 @@ Sequence, Union, ) -from pydantic import SerializationInfo, SerializerFunctionWrapHandler + import filetype import requests from dataclasses_json import DataClassJsonMixin @@ -40,7 +40,9 @@ GetJsonSchemaHandler, JsonSchemaValue, PlainSerializer, + SerializationInfo, SerializeAsAny, + SerializerFunctionWrapHandler, model_serializer, model_validator, )