> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/changelog/explore-by-month/june-2025/calculate-perception-encoder-embeddings-in-workflows.md).

# Calculate Perception Encoder Embeddings in Workflows

<figure><img src="/files/b2QCuPQfJTrVcp9XzU8S" alt=""><figcaption></figcaption></figure>

You can now calculate text and image embeddings with [Meta AI's Perception Encoder model](https://ai.meta.com/research/publications/perception-encoder-the-best-visual-embeddings-are-not-at-the-output-of-the-network/).

To use this feature, go to Roboflow Workflows and add a "Perception Encoder Embedding Model" block to your Workflow.

You can compare two embeddings using the Cosine Similarity block.
