mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-18 15:58:31 +00:00
feat(app): add jina reader
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user