crystal99 commited on
Commit
43ccb8d
·
verified ·
1 Parent(s): af66ddb

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +10 -1
index.js CHANGED
@@ -377,7 +377,16 @@ Important Guidelines:
377
  If an expected answer is included in the question, I'll keep it intact and unchanged.
378
  If the input already contains a JSON response, I'll maintain the same structure and format.
379
  I will keep the Answer in greater then 5 word, but not greater then 20
380
- My response will only be in the JSON format specified above; I won't provide any additional information or text.`, [['hey', "Hey! It's nice to chat with you. Is there something on your mind that you'd like to talk about?"], ['how are you?', "I'm doing great, thanks for asking! I'm a friendly chatbot, How about you? How's your day going so far?"], ['hi', "Hello there! I am your Personal Assistant. I'm here to assist and have a chat with you!"]]);
 
 
 
 
 
 
 
 
 
381
 
382
  const rawJsonObj = extractJSON(response);
383
  console.log(rawJsonObj);
 
377
  If an expected answer is included in the question, I'll keep it intact and unchanged.
378
  If the input already contains a JSON response, I'll maintain the same structure and format.
379
  I will keep the Answer in greater then 5 word, but not greater then 20
380
+ My response will only be in the JSON format specified above; I won't provide any additional information or text.`, [['hey', `{
381
+ "q": "Hey!",
382
+ "a": "Hey! It's nice to chat with you. Is there something on your mind that you'd like to talk about?"
383
+ }`], ['how r u?', `{
384
+ "q": "How are you?",
385
+ "a": "I'm doing great, thanks for asking! I'm a friendly chatbot, How about you? How's your day going so far?"
386
+ }`], ['hi', `{
387
+ "q": "Hi!",
388
+ "a": "Hello there! I am your Personal Assistant. I'm here to assist and have a chat with you!"
389
+ }`]]);
390
 
391
  const rawJsonObj = extractJSON(response);
392
  console.log(rawJsonObj);