Spaces:
Sleeping
Sleeping
Commit
·
ca13789
1
Parent(s):
59a4fe8
Update chatbot.py
Browse files- 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 |
-
|
13 |
-
|
14 |
-
How
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
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 |
]
|