Skip to content

Commit

Permalink
removes tuple requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartjohnpage committed Apr 12, 2024
1 parent b0297e3 commit 681f6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/text_chunker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule TextChunker do
**Supported Options**
* `:chunk_size` (positive integer, default: 2000) - Maximum size in code point length for each chunk.
* `:chunk_overlap` (non-negative integer, default: 200) - Number of overlapping code points between consecutive chunks to preserve context.
* `:strategy` (module tuple, default: `{RecursiveChunk, nil}`) - A module implementing the split function. Currently only `RecursiveChunk` is supported.
* `:strategy` (module default: `RecursiveChunk`) - A module implementing the split function. Currently only `RecursiveChunk` is supported.
* `:format` (atom, default: `:plaintext`) - The format of the input text. Used to determine where to split the text in some strategies.
"""
alias TextChunker.Strategies.RecursiveChunk
Expand Down

0 comments on commit 681f6c9

Please sign in to comment.