SearchQualityLevel - Go SDK

SearchQualityLevel type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

How much context to retrieve per result. Applies to Exa and Parallel engines; ignored with native provider search and Firecrawl. For Exa, pins a fixed per-result character cap (low=5,000, medium=15,000, high=30,000); when omitted, Exa picks an adaptive size per query and document (typically ~2,000–4,000 characters per result). For Parallel, controls the total characters across all results; when omitted, Parallel uses its own default size. Overridden by max_characters when both are set.

Example Usage

1import (
2 "github.com/OpenRouterTeam/go-sdk/models/components"
3)
4
5value := components.SearchQualityLevelLow
6
7// Open enum: custom values can be created with a direct type cast
8custom := components.SearchQualityLevel("custom_value")

Values

NameValue
SearchQualityLevelLowlow
SearchQualityLevelMediummedium
SearchQualityLevelHighhigh