Skip to content

Commit 41ea09a

Browse files
committed
Documented section.
1 parent d97d006 commit 41ea09a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/bench.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def bench() -> dict[str, float]:
1616
semchunk_chunker = semchunk.chunkerify(tiktoken.encoding_for_model('gpt-4'), CHUNK_SIZE)
1717
sts_chunker = TextSplitter.from_tiktoken_model('gpt-4', CHUNK_SIZE)
1818

19+
# Initalise the benchmarking functions.
1920
def bench_semchunk(texts: list[str]) -> None:
2021
semchunk_chunker(texts)
2122

0 commit comments

Comments
 (0)