Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
docs: adding missing model to tokenizer (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly authored Oct 31, 2023
1 parent d0f8235 commit 3883a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/griptape-framework/data/chunkers.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ from griptape.chunkers import TextChunker
from griptape.tokenizers import OpenAiTokenizer
TextChunker(
# set an optional custom tokenizer
tokenizer=OpenAiTokenizer(),
tokenizer=OpenAiTokenizer(model=OpenAiTokenizer.DEFAULT_OPENAI_GPT_4_MODEL),
# optionally modify default number of tokens
max_tokens=100
).chunk("long text")
Expand Down

0 comments on commit 3883a7f

Please sign in to comment.