From 944945e46fd45ade77aeaf679302401886dd5081 Mon Sep 17 00:00:00 2001 From: YunhaoLi <62140756+yunhaoli24@users.noreply.github.com> Date: Fri, 27 Sep 2024 05:34:43 +0800 Subject: [PATCH] Enhance `insert` Method in `BaseIndex` to Support Customizable Transformations (#16206) --- llama-index-core/llama_index/core/indices/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama-index-core/llama_index/core/indices/base.py b/llama-index-core/llama_index/core/indices/base.py index 3916e640b478c..3564139b1d051 100644 --- a/llama-index-core/llama_index/core/indices/base.py +++ b/llama-index-core/llama_index/core/indices/base.py @@ -210,6 +210,7 @@ def insert(self, document: Document, **insert_kwargs: Any) -> None: [document], self._transformations, show_progress=self._show_progress, + **insert_kwargs, ) self.insert_nodes(nodes, **insert_kwargs)