Skip to content

Commit

Permalink
Merge pull request #291 from tryAGI/bot/auto-format_202405041106
Browse files Browse the repository at this point in the history
style:Run dotnet format
  • Loading branch information
github-actions[bot] authored May 4, 2024
2 parents 713cc67 + fda1b49 commit bab5ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DocumentLoaders/Abstractions/src/FileLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task<IReadOnlyCollection<Document>> LoadAsync(
// }

var metadata = settings.CollectMetadataIfRequired(dataSource);

return [new Document(content, metadata: metadata)];
}
}
2 changes: 1 addition & 1 deletion src/DocumentLoaders/Pdf/src/AsposePdfSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public async Task<IReadOnlyCollection<Document>> LoadAsync(
pdfDocument.Pages.Accept(textAbsorber);

var metadata = settings.CollectMetadataIfRequired(dataSource);

return [new Document(textAbsorber.Text, metadata: metadata)];
}
}

0 comments on commit bab5ed5

Please sign in to comment.