Rewrite Prompts • Rust AI Agent SDK

RewritePrompts: Query rewriting prompts for each strategy

RewritePrompts

Defined in the Specialized Agents module.

Rust AI Agent SDK

Query rewriting prompts for each strategy

Methods

get

rust
fn get(strategy: RewriteStrategy) -> &'static str

Get prompt for strategy

Parameters:

NameType
strategyRewriteStrategy

Source

View on GitHub

praisonai/src/specialized_agents.rs at line 532


Related Documentation