Skip to main content

from_config

Function from_config 

Source
pub fn from_config(cfg: &RagConfig) -> Result<Arc<dyn DocumentSource>>
Expand description

Build the document source selected by cfg.source.