Replacing import source from pydantic to llama_index.core.bridge.pydantic to avoid error explained in issue #10921