Skip to content

Commit

Permalink
Fix metadata issue (#316)
Browse files Browse the repository at this point in the history
* Fix xls parsing

* Add oss file link

* fix typo

* fix metadata issue
  • Loading branch information
moria97 authored Dec 23, 2024
1 parent 91266a6 commit a11aaa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pai_rag/integrations/readers/pai/pai_data_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def get_input_files(
)

file_metadata_map = {
file: default_file_metadata_func(file_path=file) for file in input_files
str(file): default_file_metadata_func(file_path=str(file))
for file in input_files
}
return input_files, file_metadata_map

Expand Down

0 comments on commit a11aaa4

Please sign in to comment.