diff --git a/packages/graphrag-chunking/README.md b/packages/graphrag-chunking/README.md index fa1a2152..278b8961 100644 --- a/packages/graphrag-chunking/README.md +++ b/packages/graphrag-chunking/README.md @@ -21,12 +21,12 @@ print(chunks) # ["This is a", " random test fragment", " of some text"] Using the factory via helper util ```python - tokenizer = tiktoken.get_encoding("o200k_base") - config = ChunkingConfig( - strategy="tokens", - size=3, - overlap=0 +tokenizer = tiktoken.get_encoding("o200k_base") +config = ChunkingConfig( + strategy="tokens", + size=3, + overlap=0 ) - chunker = create_chunker(config, tokenizer.encode, tokenizer.decode) - ... -` \ No newline at end of file +chunker = create_chunker(config, tokenizer.encode, tokenizer.decode) +... +``` \ No newline at end of file