pub fn build_prompt(req: &CapabilityRequest) -> String
Build the generation prompt from a CapabilityRequest.