Skip to main content

embed_documents

Function embed_documents 

Source
pub async fn embed_documents(
    embedder: &dyn Embedder,
    parsers: &DocumentParsers,
    config: &ChunkConfig,
    document_files: Vec<(DocumentType, String)>,
    store: &dyn VectorStore,
) -> Result<()>
Expand description

Chunk and embed a set of document files, then insert into the store.