Skip to content

Commit

Permalink
Merge pull request #13 from rajivpant/identify-sources
Browse files Browse the repository at this point in the history
Updated to call load_files function in updated format.
  • Loading branch information
rajivpant authored May 5, 2024
2 parents ea1d448 + 142a9c9 commit 5ede7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ragbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def main():
# Load default custom_instructions for profile
default_custom_instructions_paths = custom_instruction_paths
default_custom_instructions_paths = [path for path in default_custom_instructions_paths if path.strip() != '']
custom_instructions, custom_instructions_files = load_files(default_custom_instructions_paths + args.curated_dataset)
custom_instructions, custom_instructions_files = load_files(file_paths=default_custom_instructions_paths + args.curated_dataset, file_type="custom_instructions")

if custom_instructions_files:
print("Custom instructions being used:")
Expand All @@ -176,7 +176,7 @@ def main():
# Load default curated_datasets profile
default_curated_dataset_paths = curated_dataset_paths
default_curated_dataset_paths = [path for path in default_curated_dataset_paths if path.strip() != '']
curated_datasets, curated_dataset_files = load_files(default_curated_dataset_paths + args.curated_dataset)
curated_datasets, curated_dataset_files = load_files(file_paths=default_curated_dataset_paths + args.curated_dataset, file_type="curated_datasets")

if curated_dataset_files:
print("Curated datasets being used:")
Expand Down

0 comments on commit 5ede7b1

Please sign in to comment.