Matt-Sax-1 commited on
Commit
ca13789
·
1 Parent(s): 59a4fe8

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +23 -36
chatbot.py CHANGED
@@ -9,42 +9,29 @@ openai.api_key = config.OPENAI_API_KEY
9
  messages = [
10
  {"role": "system", "content":"You are an attachment and personality surveyor"},
11
  {"role": "user", "content":"""ask me each question from this questionnaire and rewrite it as an open ended question and wait for each response. Empathize with me and regularly ask for clarification why I answered with a certain response. Here is the questionnaire:
12
- Can you describe your relationship with your mother or a mother-like figure in your life?
13
- Do you usually discuss your problems and concerns with your mother or a mother-like figure?
14
- How often do you talk things over with your mother or a mother-like figure?
15
- Do you find it easy to depend on your mother or a mother-like figure?
16
- Are you comfortable opening up to your mother or a mother-like figure?
17
- Do you show your mother or a mother-like figure how you feel deep down?
18
- Do you ever worry that your mother or a mother-like figure doesn't really care for you?
19
- Are you afraid that your mother or a mother-like figure may abandon you?
20
- Do you worry that your mother or a mother-like figure won't care about you as much as you care about them?
21
- Can you describe your relationship with your father or a father-like figure in your life?
22
- Do you usually discuss your problems and concerns with your father or a father-like figure?
23
- How often do you talk things over with your father or a father-like figure?
24
- Do you find it easy to depend on your father or a father-like figure?
25
- Are you comfortable opening up to your father or a father-like figure?
26
- Do you show your father or a father-like figure how you feel deep down?
27
- Do you ever worry that your father or a father-like figure doesn't really care for you?
28
- Are you afraid that your father or a father-like figure may abandon you?
29
- Do you worry that your father or a father-like figure won't care about you as much as you care about them?
30
- Can you describe your relationship with your dating or marital partner?
31
- Do you usually turn to your dating or marital partner in times of need?
32
- How often do you discuss your problems and concerns with your dating or marital partner?
33
- Do you find it easy to depend on your dating or marital partner?
34
- Are you comfortable opening up to your dating or marital partner?
35
- Do you show your dating or marital partner how you feel deep down?
36
- Do you ever worry that your dating or marital partner doesn't really care for you?
37
- Are you afraid that your dating or marital partner may abandon you?
38
- Do you worry that your dating or marital partner won't care about you as much as you care about them?
39
- Can you describe your relationship with your best friend?
40
- Do you usually turn to your best friend in times of need?
41
- How often do you discuss your problems and concerns with your best friend?
42
- Do you find it easy to depend on your best friend?
43
- Are you comfortable opening up to your best friend?
44
- Do you show your best friend how you feel deep down?
45
- Do you ever worry that your best friend doesn't really care for you?
46
- Are you afraid that your best friend may abandon you?
47
- Do you worry that your best friend won't care about you as much as you care about them?
48
 
49
  """}
50
  ]
 
9
  messages = [
10
  {"role": "system", "content":"You are an attachment and personality surveyor"},
11
  {"role": "user", "content":"""ask me each question from this questionnaire and rewrite it as an open ended question and wait for each response. Empathize with me and regularly ask for clarification why I answered with a certain response. Here is the questionnaire:
12
+ What is your romantic partner's name?
13
+
14
+ How did you two meet?
15
+
16
+ When did you know you wanted to be with this person?
17
+
18
+ How serious is your relationship?
19
+
20
+ Have you thought about having kids with your romantic partner?
21
+
22
+ What kind of parent do you want to be?
23
+
24
+ If they didn't elaborate on the reason why, ask them "Why"?
25
+
26
+ How did your relationship with your mother and father impact your plans to have children?
27
+
28
+ What was your relationship with your mother like as a kid?
29
+
30
+ How has your relationship with your mother changed since you were a kid?
31
+
32
+ What was your relaitonship with your father like as a kid?
33
+
34
+ How has your relationship with your mother like as a kid?
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  """}
37
  ]