This page provides guidance on choosing models for semantic search over documents, including documents that contain diagrams, charts, or tables. Available models change over time and differ between enrollments. For a list of supported models, review the supported large language models (LLMs) and embedding models.
Text-only LLMs cannot read images. To answer questions about diagrams, charts, or other images, use a model with vision capabilities. To find these models, filter the Model Catalog homepage by Type and select Vision model.
You can use vision models in the following ways:
You can also use the extracted text for semantic search, then send the matching page images and the question to a vision model. To support this, store the page number and a media reference to an image of that page on each chunk object. Python transforms can convert PDF pages to images.
We recommend Palantir-provided embedding models. To find them, filter the Model Catalog homepage by Type and select Embedding model, or review the supported text embedding models. If you cannot use Palantir-provided models, you can register your own model and select it in Text to embeddings.
When you choose an embedding model, follow these guidelines:
To embed images instead of text, use the Image to embeddings expression in Pipeline Builder with an embedding model that supports vision capabilities.