mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-20 16:58:30 +00:00
feat(app): add jina reader
This commit is contained in:
@ -103,7 +103,7 @@ const getDocumentsFromLocal = async ({links}: {links: string[]}) => {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
return docs;
|
return docs;
|
||||||
}
|
};
|
||||||
|
|
||||||
const getDocumentsFromJinaReader = async ({links}: { links: string[] }) => {
|
const getDocumentsFromJinaReader = async ({links}: { links: string[] }) => {
|
||||||
const splitter = new MarkdownTextSplitter();
|
const splitter = new MarkdownTextSplitter();
|
||||||
@ -160,4 +160,4 @@ const getDocumentsFromJinaReader = async ({links}: { links: string[] }) => {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
return docs;
|
return docs;
|
||||||
}
|
};
|
||||||
|
Reference in New Issue
Block a user