From 370b4b07bdb480baa0369c9532a09081b3f4f9fa Mon Sep 17 00:00:00 2001 From: Stuart Page <38261603+stuartjohnpage@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:34:31 -0600 Subject: [PATCH] fixed reurn type --- lib/chunker/strategies/recursive_chunk/recursive_chunk.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chunker/strategies/recursive_chunk/recursive_chunk.ex b/lib/chunker/strategies/recursive_chunk/recursive_chunk.ex index 4c0277f..b96c0bb 100644 --- a/lib/chunker/strategies/recursive_chunk/recursive_chunk.ex +++ b/lib/chunker/strategies/recursive_chunk/recursive_chunk.ex @@ -32,7 +32,7 @@ defmodule Chunker.Strategies.RecursiveChunk do require Logger @impl true - @spec split(binary(), keyword()) :: [binary()] + @spec split(binary(), keyword()) :: [Chunk.t()] @doc """ Splits the given text into chunks using a recursive strategy. Prioritizes compliance with the configured `chunk_size` as a maximum, while aiming to maintain `chunk_overlap` for