Not just similarity. It also includes all other possible relationships if you want, such as order, connectivity, etc.
My current belief is that a hundred thousand+ dimensional latent space, as in SOTA LLMs, seems to have enough dimensions to reduce a large array of cognitive skills into a proximity search.