Appearance
Search Models
A Search Model defines what request is sent to an endpoint.
Model Components
Name,DescriptionEndpoint(required)Params(query string map)BodyandBody TypeCustom Headers(override/extend endpoint headers)- Optional default
Keywords - Optional assigned
Tags(default tags for new evaluations)
Query Placeholder
Use #query# in params/body to inject each evaluation keyword at runtime.
Examples:
yaml
q: #query#
lang: dejson
{
"query": "#query#",
"limit": 50
}Request Composition Order
- Endpoint URL + method
- Endpoint headers
- Model headers override/extend
- Params/body with
#query#substitution
Test Model Flow
Before using in evaluations:
- Set temporary keyword replacing
#query#with real text. - Run test request.
- Confirm mapper output includes valid documents.
- Check at least
idandnameextracted.
Model Metrics View
Model detail page aggregates latest finished evaluation metrics and trend history.
Use it for:
- tracking long-term ranking quality
- comparing before/after relevance changes
- spotting regressions across releases
Common Pitfalls
- Placeholder missing in request template.
- Wrong body type for upstream API.
- Header override accidentally removing required auth header.
- Unbounded result size causing noisy evaluations.