Browse Source

change function name

nHigashiWeseek 1 year ago
parent
commit
8f3f67c30a

+ 1 - 1
packages/markdown-splitter/src/services/markdown-token-splitter.ts

@@ -93,7 +93,7 @@ function groupMarkdownFragments(
 }
 }
 
 
 // Function to group markdown into chunks based on token count
 // Function to group markdown into chunks based on token count
-export async function assembleMarkdownIntoChunk(
+export async function splitMarkdownIntoChunks(
     markdownText: string,
     markdownText: string,
     model: TiktokenModel,
     model: TiktokenModel,
     maxToken = 800,
     maxToken = 800,