feat(app): add jina reader
This commit is contained in:
parent
dd2f4effca
commit
47c7bb688f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue