From f2f55aecd815cdaacb173762ae70afa4090669f2 Mon Sep 17 00:00:00 2001 From: Stuart Page <38261603+stuartjohnpage@users.noreply.github.com> Date: Tue, 27 Feb 2024 21:39:58 -0600 Subject: [PATCH 1/2] Create SECURITY.md (#2) * Create SECURITY.md * re-run workflow * re-run workflow --- SECURITY.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..ff63ee1 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,11 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 0.1.0 | :white_check_mark: | + +## Reporting a Vulnerability + +If you discover a vulnerability, and would like to report it, please send an email to support@revelry.co From 33a3a591d02e66cb445e22f62782e8051a819483 Mon Sep 17 00:00:00 2001 From: Stuart Page <38261603+stuartjohnpage@users.noreply.github.com> Date: Tue, 27 Feb 2024 21:44:09 -0600 Subject: [PATCH 2/2] fixed example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f1ef57..caca337 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ You can use Recursive Chunk to split text up into any chunk size you wish, with alias Chunker.TextChunker text = "This is a sample text. It will be split into properly-sized chunks using the Chunker library." -opts = [chunk_size: 50, chunk_overlap: 5, format: :plaintext, strategy: &TextChunker.split/2,] +opts = [chunk_size: 50, chunk_overlap: 5, format: :plaintext, strategy: &Chunker.Strategies.RecursiveChunk.split/2] iex> TextChunker.split(text, opts)