All model profiles
Three dotted paths connect a teal circle to a red one.

pplx-embed-v2-context-9b

Three dotted paths connect a teal circle to a red one.

Perplexity’s 9B contextual embedding model is the larger of SAGA’s two Perplexity options for representing text as search vectors.

When to use it

When choosing a model for a new index, test it on queries that combine several details. Use a few deliberately similar passages to see which version retrieves the passage that satisfies the full request.

Using the model in GenAI by SAGA

SAGA uses this model to create text embeddings. Queries against an existing index must use the same embedding model that built the index.

Open GenAI by SAGA
See a worked example

Find step-free routes in station guides with text embeddings

A station directory might list the same exit twice, once for a lift and once for stairs. A passenger needs a route that matches both the exit and the access requirement. Perplexity’s 9B contextual embedding model converts text into numerical vectors. Generate a vector for each route description and for the query, then compare them using cosine similarity.

Example input

Text query — Which route gets me to Exit B without stairs? Route A — “Take the concourse lift to street level at Exit B.” Route B — “Take the concourse lift to street level at Exit C.” Route C — “Follow the stairs from the concourse to Exit B.”

What to check in the result

Check whether A ranks first. Change only the exit in the query to C and see whether B now ranks first. If C scores highly for the original query, the search may favour the exit over the access requirement. Verify the best match against the route description before displaying it.

Further reading