arasu088 commited on
Commit
b54c4d6
1 Parent(s): 8596832

Upload helper.py

Browse files
Files changed (1) hide show
  1. helper.py +1 -1
helper.py CHANGED
@@ -42,7 +42,7 @@ llm = HuggingFacePipeline(pipeline=pipe)
42
  # # Initialize instructor embeddings using the Hugging Face model
43
  # instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="C:/Users/arasu/Workspace/Projects/GenAI/embeddings/hkunlp_instructor-large")
44
  instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-large")
45
- db_path = "vector_db"
46
 
47
  def create_vector_db():
48
  # Load data from pdf
 
42
  # # Initialize instructor embeddings using the Hugging Face model
43
  # instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="C:/Users/arasu/Workspace/Projects/GenAI/embeddings/hkunlp_instructor-large")
44
  instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-large")
45
+ db_path = "./vector_db"
46
 
47
  def create_vector_db():
48
  # Load data from pdf