Armaankapiva28 commited on
Commit
4f31478
·
1 Parent(s): ad08376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -25,9 +25,9 @@ def get_document():
25
 
26
  my_data = get_document()
27
 
28
- words=["hi", "hii", "hiii", "hey", "heyy", "heyyy", "hello", "helloo", "hellooo", "g morining", "gm",
29
  "gmorning", "good morning", "goodmorning", "morning", "good day", "good afternoon",
30
- "good evening", "greetings", "greeting",
31
  "good to see you", "its good seeing you", "how are you", "how're you",
32
  "how are you doing", "how ya doin'", "how ya doin", "how is everything",
33
  "how is everything going", "how's everything going", "how is you", "how's you",
@@ -36,7 +36,7 @@ words=["hi", "hii", "hiii", "hey", "heyy", "heyyy", "hello", "helloo", "hellooo"
36
  "how have you been", "how've you been", "what is up", "what's up", "what is cracking",
37
  "what's cracking", "what is good", "what's good", "what is happening", "what's happening",
38
  "what is new", "what's new", "what is neww", "g’day", "howdy",
39
- "who are you", "who you", "namaste"]
40
 
41
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=50)
42
  my_doc = text_splitter.split_documents(my_data)
@@ -54,7 +54,7 @@ You have and provide all the knowledge, methods and techniques of ayurveda, use
54
  You also give lifestyle advice, pertaining to ayurveda wherever necessary.
55
  Add creative emojis to all outputs.
56
  include more ingredients, ayurvedic practices in the response.
57
- Make your answer crisp, to the point and personal, shorten your output to max 100 words.
58
  Do not mention about dosha test unless asked.
59
  Link doctor consult (https://kapiva.in/consult-a-doctor/?utm_source=chatbot&utm_medium=whatsapp&utm_campaign=inhousebot) from data when mentioned.
60
  Link only product link when product mentioned.
 
25
 
26
  my_data = get_document()
27
 
28
+ words=["hi", "hii", "hiii", "hey", "heyy", "heyyy", "hello", "helloo", "hellooo", "g morning", "gm",
29
  "gmorning", "good morning", "goodmorning", "morning", "good day", "good afternoon",
30
+ "good evening", "greetings", "greeting", "mornin",
31
  "good to see you", "its good seeing you", "how are you", "how're you",
32
  "how are you doing", "how ya doin'", "how ya doin", "how is everything",
33
  "how is everything going", "how's everything going", "how is you", "how's you",
 
36
  "how have you been", "how've you been", "what is up", "what's up", "what is cracking",
37
  "what's cracking", "what is good", "what's good", "what is happening", "what's happening",
38
  "what is new", "what's new", "what is neww", "g’day", "howdy",
39
+ "who are you", "who you","who r u" , "namaste"]
40
 
41
  text_splitter = TokenTextSplitter(chunk_size=500, chunk_overlap=50)
42
  my_doc = text_splitter.split_documents(my_data)
 
54
  You also give lifestyle advice, pertaining to ayurveda wherever necessary.
55
  Add creative emojis to all outputs.
56
  include more ingredients, ayurvedic practices in the response.
57
+ Make your answer crisp, to the point and personal, shorten your output to max 70 words.
58
  Do not mention about dosha test unless asked.
59
  Link doctor consult (https://kapiva.in/consult-a-doctor/?utm_source=chatbot&utm_medium=whatsapp&utm_campaign=inhousebot) from data when mentioned.
60
  Link only product link when product mentioned.