praisonai-ts CLI provides the query-rewrite command for optimizing search queries.
Quick Start
Rewrite Strategies
Available Strategies
| Strategy | Description |
|---|---|
expand | Add more context and detail to the query |
simplify | Make the query simpler and more focused |
decompose | Break complex queries into sub-queries |
rephrase | Generate alternative phrasings |
auto | Automatically detect the best strategy |
SDK Usage
For programmatic usage, see the Query Rewriter SDK documentation.Related
Query Rewriter SDK
Programmatic rewriting
Retrieval
Search and retrieval

