mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 00:57:23 +08:00
Typo
This commit is contained in:
parent
88af7f8dc2
commit
ee20153d8c
@ -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)
|
||||
...
|
||||
`
|
||||
chunker = create_chunker(config, tokenizer.encode, tokenizer.decode)
|
||||
...
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user