Skip to content

Commit

Permalink
Update default PDF spliter (#3568)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Dec 6, 2023
1 parent c0bb153 commit 2e865ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion langchain/src/document_loaders/fs/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class PDFLoader extends BufferLoader {
{
splitPages = true,
pdfjs = PDFLoaderImports,
parsedItemSeparator = " ",
parsedItemSeparator = "",
} = {}
) {
super(filePathOrBlob);
Expand Down
2 changes: 1 addition & 1 deletion langchain/src/document_loaders/web/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class WebPDFLoader extends BaseDocumentLoader {
{
splitPages = true,
pdfjs = PDFLoaderImports,
parsedItemSeparator = " ",
parsedItemSeparator = "",
} = {}
) {
super();
Expand Down

2 comments on commit 2e865ff

@vercel
Copy link

@vercel vercel bot commented on 2e865ff Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

langchainjs-docs – ./docs/core_docs/

langchainjs-docs-ruddy.vercel.app
langchainjs-docs-langchain.vercel.app
js.langchain.com
langchainjs-docs-git-main-langchain.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 2e865ff Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.