We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d97d006 commit 41ea09aCopy full SHA for 41ea09a
tests/bench.py
@@ -16,6 +16,7 @@ def bench() -> dict[str, float]:
16
semchunk_chunker = semchunk.chunkerify(tiktoken.encoding_for_model('gpt-4'), CHUNK_SIZE)
17
sts_chunker = TextSplitter.from_tiktoken_model('gpt-4', CHUNK_SIZE)
18
19
+ # Initalise the benchmarking functions.
20
def bench_semchunk(texts: list[str]) -> None:
21
semchunk_chunker(texts)
22
0 commit comments