midrees2806 commited on
Commit
e518ace
·
verified ·
1 Parent(s): dba6f87

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +7 -0
rag.py CHANGED
@@ -20,6 +20,13 @@ similarity_model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
20
  HF_DATASET_REPO = "midrees2806/unmatched_queries"
21
  HF_TOKEN = os.getenv("HF_TOKEN")
22
 
 
 
 
 
 
 
 
23
  # Load local dataset
24
  try:
25
  with open('dataset.json', 'r') as f:
 
20
  HF_DATASET_REPO = "midrees2806/unmatched_queries"
21
  HF_TOKEN = os.getenv("HF_TOKEN")
22
 
23
+ # Greeting list
24
+ GREETINGS = [
25
+ "hi", "hello", "hey", "good morning", "good afternoon", "good evening",
26
+ "assalam o alaikum", "salam", "aoa", "hi there",
27
+ "hey there", "greetings"
28
+ ]
29
+
30
  # Load local dataset
31
  try:
32
  with open('dataset.json', 'r') as f: