From 084548f0fbfbb8cf6d359585f30c8e2593565681 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Sun, 4 Aug 2024 22:35:29 +0200 Subject: [PATCH] docs(README): clarify on closures --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 02c6cf13..eec9acae 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ indexing::Pipeline::from_loader(FileLoader::new(".").with_extensions(&["rs"])) 10..2048, )?) .then(MetadataQACode::new(openai_client.clone())) + .then(move |node| my_own_thing(node)) .then_in_batch(10, Embed::new(openai_client.clone())) .then_store_with( Qdrant::builder() @@ -138,7 +139,7 @@ Our goal is to create a fast, extendable platform for data indexing and querying - Experimental query pipeline - Integrations with OpenAI, Groq, Redis, Qdrant, FastEmbed, and Treesitter - A variety of loaders, transformers, semantic chunkers, embedders, and more -- Bring your own transformers by extending straightforward traits +- Bring your own transformers by extending straightforward traits or use a closure - Splitting and merging pipelines - Jinja-like templating for prompts - Store into multiple backends