build_routed_pipeline_with_preprocessor

Function build_routed_pipeline_with_preprocessor 

Source
pub async fn build_routed_pipeline_with_preprocessor<Req, Resp>(
    card: &ModelDeploymentCard,
    client: &Client,
    router_mode: RouterMode,
    busy_threshold: Option<f64>,
    chooser: Option<Arc<KvRouter>>,
    preprocessor: Arc<OpenAIPreprocessor>,
    hf_tokenizer: Tokenizer,
) -> Result<ServiceEngine<SingleIn<Req>, ManyOut<Annotated<Resp>>>>