pub trait GroundingStrategy: Send + Sync + 'static { // Required method fn ground(&self, documents: &[Document]) -> String; }
Strategy for grounding agent context with retrieved documents.
Convert retrieved documents into context text for the agent.