Rauhan commited on
Commit
e1ca8b7
1 Parent(s): 301e6a4

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -32,7 +32,7 @@ vectorEmbeddings = HuggingFaceEmbeddings(
32
  model_kwargs = model_kwargs,
33
  encode_kwargs = encode_kwargs
34
  )
35
- sparseEmbeddings = FastEmbedSparse(model = "Qdrant/BM25", parallel = 2)
36
  prompt = """
37
  ### Role
38
  - **Primary Function**: You are an AI chatbot dedicated to assisting users with their inquiries, issues, and requests. Your goal is to deliver excellent, friendly, and efficient responses at all times. Listen attentively, understand user needs, and provide the best assistance possible or direct them to appropriate resources. If a question is unclear, ask for clarification. Always conclude your replies on a positive note.
 
32
  model_kwargs = model_kwargs,
33
  encode_kwargs = encode_kwargs
34
  )
35
+ sparseEmbeddings = FastEmbedSparse(model = "Qdrant/BM25")
36
  prompt = """
37
  ### Role
38
  - **Primary Function**: You are an AI chatbot dedicated to assisting users with their inquiries, issues, and requests. Your goal is to deliver excellent, friendly, and efficient responses at all times. Listen attentively, understand user needs, and provide the best assistance possible or direct them to appropriate resources. If a question is unclear, ask for clarification. Always conclude your replies on a positive note.