dtyago commited on
Commit
2dae6f6
1 Parent(s): 8561cf1

Fix the bug fix on collection name

Browse files
Files changed (1) hide show
  1. app/utils/doc_ingest.py +1 -1
app/utils/doc_ingest.py CHANGED
@@ -13,5 +13,5 @@ def ingest_document(file_location: str, collection_name: str):
13
  vectordb = pdf_to_vec(file_location, collection_name)
14
  print("Document processed and ingested successfully into user-specific collection.")
15
  except Exception as e:
16
- print(f"Error processing document for user {user_id}: {e}")
17
  raise
 
13
  vectordb = pdf_to_vec(file_location, collection_name)
14
  print("Document processed and ingested successfully into user-specific collection.")
15
  except Exception as e:
16
+ print(f"Error processing document for collection {collection_name}: {e}")
17
  raise