Perplexity Embeddings API

The Embeddings API generates high-quality text embeddings for semantic search and retrieval, offering both standard embeddings for independent texts and contextualized embeddings for document chunks that share context, with support for Matryoshka representation learning for flexible dimensionality.

API entry from apis.yml

apis.yml Raw ↑
aid: perplexity:embeddings-api
name: Perplexity Embeddings API
description: The Embeddings API generates high-quality text embeddings for semantic search and retrieval,
  offering both standard embeddings for independent texts and contextualized embeddings for document chunks
  that share context, with support for Matryoshka representation learning for flexible dimensionality.
humanURL: https://docs.perplexity.ai/docs/embeddings/quickstart
baseURL: https://api.perplexity.ai
tags:
- Embeddings
- Retrieval
- Semantic Search
- Vectors
properties:
- type: Documentation
  url: https://docs.perplexity.ai/docs/embeddings/quickstart
- type: API Reference
  url: https://docs.perplexity.ai/api-reference/embeddings-post
- type: Authentication
  url: https://docs.perplexity.ai/guides/api-key-management
- type: Best Practices
  url: https://docs.perplexity.ai/docs/embeddings/best-practices