Skip to main content
Search models build an index over the training data at training time. At inference time, each row in the inference data is matched to the most semantically similar row in the training dataset. This is useful for finding nearest-neighbor matches, deduplication, record linkage, or recommendation systems.

Training

Training embeds the entire training dataset and builds a nearest-neighbor index over those embeddings. No label_column is needed. No validation metrics are computed for search models.
Search is not available in the Python SDK yet. Use the HTTP examples below.

Inference

Provide a CSV of query rows. For each query row, the model returns the row ID of the closest match in the training dataset.
See Output Formats for the full output schema.