mirror of
https://github.com/run-llama/ts-playground.git
synced 2026-07-01 20:44:01 -04:00
bug fix
This commit is contained in:
@@ -38,7 +38,7 @@ export default async function handler(
|
||||
|
||||
const nodes = getNodesFromDocument(
|
||||
new Document({ text: document }),
|
||||
new SentenceSplitter(chunkSize, chunkOverlap),
|
||||
new SentenceSplitter({ chunkSize, chunkOverlap }),
|
||||
);
|
||||
|
||||
const nodesWithEmbeddings = await VectorStoreIndex.getNodeEmbeddingResults(
|
||||
|
||||
Reference in New Issue
Block a user