Skip to content

Commit d751682

Browse files
committed
Update comment
1 parent de767cc commit d751682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphrag/index/text_splitting/text_splitting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class TextSplitter(ABC):
5050

5151
def __init__(
5252
self,
53-
# based on text-ada-002-embedding max input buffer length
54-
# https://platform.openai.com/docs/guides/embeddings/second-generation-models
53+
# based on OpenAI embedding chunk size limits
54+
# https://devblogs.microsoft.com/azure-sql/embedding-models-and-dimensions-optimizing-the-performance-resource-usage-ratio/
5555
chunk_size: int = 8191,
5656
chunk_overlap: int = 100,
5757
length_function: LengthFn = len,

0 commit comments

Comments
 (0)