midrees2806 commited on
Commit
efff156
·
verified ·
1 Parent(s): 31bbe51

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +1 -1
rag.py CHANGED
@@ -40,7 +40,7 @@ UNMATCHED_RESPONSES = [
40
  # Load multiple JSON datasets
41
  dataset = []
42
  try:
43
- json_files = glob.glob('datasets/*.json')
44
  for file_path in json_files:
45
  with open(file_path, 'r', encoding='utf-8') as f:
46
  data = json.load(f)
 
40
  # Load multiple JSON datasets
41
  dataset = []
42
  try:
43
+ json_files = glob.glob('dataset.json')
44
  for file_path in json_files:
45
  with open(file_path, 'r', encoding='utf-8') as f:
46
  data = json.load(f)