feat(app): add jina reader

This commit is contained in:
wellCh4n
2025-02-19 12:33:37 +08:00
parent dd2f4effca
commit 47c7bb688f

View File

@ -103,7 +103,7 @@ const getDocumentsFromLocal = async ({links}: {links: string[]}) => {
}),
);
return docs;
}
};
const getDocumentsFromJinaReader = async ({links}: { links: string[] }) => {
const splitter = new MarkdownTextSplitter();
@ -160,4 +160,4 @@ const getDocumentsFromJinaReader = async ({links}: { links: string[] }) => {
})
);
return docs;
}
};