suhamemon1
commited on
Commit
•
7e15a84
1
Parent(s):
f556400
updated chatbot and saved the question number itself
Browse files- __pycache__/model_generate.cpython-311.pyc +0 -0
- __pycache__/pymongo_get_database.cpython-311.pyc +0 -0
- __pycache__/questionnaire.cpython-311.pyc +0 -0
- __pycache__/utils.cpython-311.pyc +0 -0
- app.py +74 -66
- data/instructions/instr_email.md +1 -1
- data/instructions/instr_shortstory.md +1 -1
- data/instructions/instr_summary.md +1 -1
- data/instructions/instr_title.md +1 -1
- model_generate.py +14 -5
- user_data/06dfcf09-173f-4c6c-a29a-202da5c036f4/questionnaire_06dfcf09-173f-4c6c-a29a-202da5c036f4.json +41 -0
- user_data/06dfcf09-173f-4c6c-a29a-202da5c036f4/questions_06dfcf09-173f-4c6c-a29a-202da5c036f4.json +82 -0
- user_data/2936e053-6bdf-456a-8529-d59b0aa59ae3/questionnaire_2936e053-6bdf-456a-8529-d59b0aa59ae3.json +41 -0
- user_data/2936e053-6bdf-456a-8529-d59b0aa59ae3/questions_2936e053-6bdf-456a-8529-d59b0aa59ae3.json +82 -0
- user_data/66d61164-46eb-4935-aa1e-0515957bb8a5/questionnaire_66d61164-46eb-4935-aa1e-0515957bb8a5.json +41 -0
- user_data/66d61164-46eb-4935-aa1e-0515957bb8a5/questions_66d61164-46eb-4935-aa1e-0515957bb8a5.json +82 -0
- user_data/7d4117f5-2f82-45fe-af2d-a1b301b22009/questions_7d4117f5-2f82-45fe-af2d-a1b301b22009.json +82 -0
- user_data/87617e37-4645-49e3-a970-b4ab8c5fb965/questionnaire_87617e37-4645-49e3-a970-b4ab8c5fb965.json +41 -0
- user_data/87617e37-4645-49e3-a970-b4ab8c5fb965/questions_87617e37-4645-49e3-a970-b4ab8c5fb965.json +82 -0
- user_data/c77ecadb-3257-49ef-acc1-137fe9e61d4c/questionnaire_c77ecadb-3257-49ef-acc1-137fe9e61d4c.json +41 -0
- user_data/c77ecadb-3257-49ef-acc1-137fe9e61d4c/questions_c77ecadb-3257-49ef-acc1-137fe9e61d4c.json +82 -0
- user_data/da0733fe-078f-443a-9299-1413ff2f3a18/questionnaire_da0733fe-078f-443a-9299-1413ff2f3a18.json +41 -0
- user_data/da0733fe-078f-443a-9299-1413ff2f3a18/questions_da0733fe-078f-443a-9299-1413ff2f3a18.json +82 -0
- utils.py +10 -12
__pycache__/model_generate.cpython-311.pyc
CHANGED
Binary files a/__pycache__/model_generate.cpython-311.pyc and b/__pycache__/model_generate.cpython-311.pyc differ
|
|
__pycache__/pymongo_get_database.cpython-311.pyc
CHANGED
Binary files a/__pycache__/pymongo_get_database.cpython-311.pyc and b/__pycache__/pymongo_get_database.cpython-311.pyc differ
|
|
__pycache__/questionnaire.cpython-311.pyc
CHANGED
Binary files a/__pycache__/questionnaire.cpython-311.pyc and b/__pycache__/questionnaire.cpython-311.pyc differ
|
|
__pycache__/utils.cpython-311.pyc
CHANGED
Binary files a/__pycache__/utils.cpython-311.pyc and b/__pycache__/utils.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -14,76 +14,84 @@ from datetime import datetime
|
|
14 |
from data_storage import store_user_data
|
15 |
import uuid
|
16 |
|
17 |
-
|
18 |
|
19 |
# radio button and button rendering: https://www.gradio.app/docs/radio
|
20 |
-
questionnaire_results = {
|
21 |
-
'Demographic Details': {},
|
22 |
-
'User Capabilities': {},
|
23 |
-
'Relationship to System': {},
|
24 |
-
'System Output Preferences': {}
|
25 |
-
}
|
26 |
-
question_answers = {
|
27 |
-
'q1': {
|
28 |
-
'Response': None,
|
29 |
-
'Assistance': None,
|
30 |
-
'CompletionTime': None,
|
31 |
-
'StartTime': None,
|
32 |
-
'EndTime': None
|
33 |
-
},
|
34 |
-
'q2': {
|
35 |
-
'Response': None,
|
36 |
-
'Assistance': None,
|
37 |
-
'CompletionTime': None,
|
38 |
-
'StartTime': None,
|
39 |
-
'EndTime': None
|
40 |
-
},
|
41 |
-
'q3': {
|
42 |
-
'Response': None,
|
43 |
-
'Assistance': None,
|
44 |
-
'CompletionTime': None,
|
45 |
-
'StartTime': None,
|
46 |
-
'EndTime': None
|
47 |
-
},
|
48 |
-
'q4': {
|
49 |
-
'Response': None,
|
50 |
-
'Assistance': None,
|
51 |
-
'CompletionTime': None,
|
52 |
-
'StartTime': None,
|
53 |
-
'EndTime': None
|
54 |
-
},
|
55 |
-
'q5': {
|
56 |
-
'Response': None,
|
57 |
-
'Assistance': None,
|
58 |
-
'CompletionTime': None,
|
59 |
-
'StartTime': None,
|
60 |
-
'EndTime': None
|
61 |
-
},
|
62 |
-
'q6': {
|
63 |
-
'Response': None,
|
64 |
-
'Assistance': None,
|
65 |
-
'CompletionTime': None,
|
66 |
-
'StartTime': None,
|
67 |
-
'EndTime': None
|
68 |
-
},
|
69 |
-
'q7': {
|
70 |
-
'Response': None,
|
71 |
-
'Assistance': None,
|
72 |
-
'CompletionTime': None,
|
73 |
-
'StartTime': None,
|
74 |
-
'EndTime': None
|
75 |
-
},
|
76 |
-
'q8': {
|
77 |
-
'Response': None,
|
78 |
-
'Assistance': None,
|
79 |
-
'CompletionTime': None,
|
80 |
-
'StartTime': None,
|
81 |
-
'EndTime': None
|
82 |
-
},
|
83 |
-
}
|
84 |
|
85 |
with gr.Blocks(title="wrAIte") as demo:
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
# mongo_manager.create_user_record(user_id)
|
88 |
|
89 |
with gr.Column("Survey Complete", render=True, visible=False) as completed_screen:
|
|
|
14 |
from data_storage import store_user_data
|
15 |
import uuid
|
16 |
|
17 |
+
|
18 |
|
19 |
# radio button and button rendering: https://www.gradio.app/docs/radio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
with gr.Blocks(title="wrAIte") as demo:
|
22 |
+
questionnaire_results = {
|
23 |
+
'Demographic Details': {},
|
24 |
+
'User Capabilities': {},
|
25 |
+
'Relationship to System': {},
|
26 |
+
'System Output Preferences': {}
|
27 |
+
}
|
28 |
+
question_answers = {
|
29 |
+
'q1': {
|
30 |
+
'Prompt': None,
|
31 |
+
'Response': None,
|
32 |
+
'Assistance': None,
|
33 |
+
'CompletionTime': None,
|
34 |
+
'StartTime': None,
|
35 |
+
'EndTime': None
|
36 |
+
},
|
37 |
+
'q2': {
|
38 |
+
'Prompt': None,
|
39 |
+
'Response': None,
|
40 |
+
'Assistance': None,
|
41 |
+
'CompletionTime': None,
|
42 |
+
'StartTime': None,
|
43 |
+
'EndTime': None
|
44 |
+
},
|
45 |
+
'q3': {
|
46 |
+
'Prompt': None,
|
47 |
+
'Response': None,
|
48 |
+
'Assistance': None,
|
49 |
+
'CompletionTime': None,
|
50 |
+
'StartTime': None,
|
51 |
+
'EndTime': None
|
52 |
+
},
|
53 |
+
'q4': {
|
54 |
+
'Prompt': None,
|
55 |
+
'Response': None,
|
56 |
+
'Assistance': None,
|
57 |
+
'CompletionTime': None,
|
58 |
+
'StartTime': None,
|
59 |
+
'EndTime': None
|
60 |
+
},
|
61 |
+
'q5': {
|
62 |
+
'Prompt': None,
|
63 |
+
'Response': None,
|
64 |
+
'Assistance': None,
|
65 |
+
'CompletionTime': None,
|
66 |
+
'StartTime': None,
|
67 |
+
'EndTime': None
|
68 |
+
},
|
69 |
+
'q6': {
|
70 |
+
'Prompt': None,
|
71 |
+
'Response': None,
|
72 |
+
'Assistance': None,
|
73 |
+
'CompletionTime': None,
|
74 |
+
'StartTime': None,
|
75 |
+
'EndTime': None
|
76 |
+
},
|
77 |
+
'q7': {
|
78 |
+
'Prompt': None,
|
79 |
+
'Response': None,
|
80 |
+
'Assistance': None,
|
81 |
+
'CompletionTime': None,
|
82 |
+
'StartTime': None,
|
83 |
+
'EndTime': None
|
84 |
+
},
|
85 |
+
'q8': {
|
86 |
+
'Prompt': None,
|
87 |
+
'Response': None,
|
88 |
+
'Assistance': None,
|
89 |
+
'CompletionTime': None,
|
90 |
+
'StartTime': None,
|
91 |
+
'EndTime': None
|
92 |
+
},
|
93 |
+
}
|
94 |
+
mongo_manager = MongoDBManager()
|
95 |
# mongo_manager.create_user_record(user_id)
|
96 |
|
97 |
with gr.Column("Survey Complete", render=True, visible=False) as completed_screen:
|
data/instructions/instr_email.md
CHANGED
@@ -1 +1 @@
|
|
1 |
-
## Instructions: Write an email for the following scenario in under 300 words
|
|
|
1 |
+
## Instructions: Write an email for the following scenario in under 300 words:
|
data/instructions/instr_shortstory.md
CHANGED
@@ -1 +1 @@
|
|
1 |
-
## Instructions: Write a short story (300 words or less) which only uses very simple words.
|
|
|
1 |
+
## Instructions: Write a short story (300 words or less) which only uses very simple words.
|
data/instructions/instr_summary.md
CHANGED
@@ -1 +1 @@
|
|
1 |
-
## Instructions: Summarize the following article in 100 words or less
|
|
|
1 |
+
## Instructions: Summarize the following article in 100 words or less:
|
data/instructions/instr_title.md
CHANGED
@@ -1 +1 @@
|
|
1 |
-
## Instructions: Write a creative title for the following article using 10 words or less
|
|
|
1 |
+
## Instructions: Write a creative title for the following article using 10 words or less:
|
model_generate.py
CHANGED
@@ -33,7 +33,9 @@ def query_chatbot(model, messages):
|
|
33 |
chat_completion = client.chat.completions.create(
|
34 |
messages=messages,
|
35 |
model="gpt-3.5-turbo",
|
|
|
36 |
)
|
|
|
37 |
return chat_completion.choices[0].message.content
|
38 |
|
39 |
|
@@ -46,6 +48,8 @@ def chatbot_generate(user_newest_input, history, model, current_answer, initial_
|
|
46 |
:return: The chatbot state, the history, the text, the submit button
|
47 |
"""
|
48 |
# convert to openai model format
|
|
|
|
|
49 |
actual_model = {
|
50 |
"chatgpt4": "gpt-4",
|
51 |
"chatgpt": "gpt-3.5-turbo"
|
@@ -55,24 +59,26 @@ def chatbot_generate(user_newest_input, history, model, current_answer, initial_
|
|
55 |
history.append(f"User: {user_newest_input.strip()}")
|
56 |
|
57 |
# construct chat messages
|
58 |
-
|
|
|
59 |
|
60 |
# chat_messages = [{"role": "system", "content": initial_txt}]
|
61 |
-
current_txt = "My current answer to the
|
62 |
for hist in history:
|
63 |
if hist.startswith("User:"):
|
|
|
64 |
chat_messages.append(
|
65 |
{
|
66 |
"role": "user",
|
67 |
-
"content":
|
68 |
}
|
69 |
)
|
70 |
elif hist.startswith("Writing Assistant:"):
|
71 |
-
|
72 |
chat_messages.append(
|
73 |
{
|
74 |
"role": "assistant",
|
75 |
-
"content":
|
76 |
}
|
77 |
)
|
78 |
else:
|
@@ -80,6 +86,9 @@ def chatbot_generate(user_newest_input, history, model, current_answer, initial_
|
|
80 |
|
81 |
# Get the generation from OpenAI
|
82 |
if actual_model in ["gpt-3.5-turbo", "gpt-4"]:
|
|
|
|
|
|
|
83 |
ai_newest_output = query_chatbot(actual_model, chat_messages)
|
84 |
else:
|
85 |
raise NotImplementedError
|
|
|
33 |
chat_completion = client.chat.completions.create(
|
34 |
messages=messages,
|
35 |
model="gpt-3.5-turbo",
|
36 |
+
|
37 |
)
|
38 |
+
|
39 |
return chat_completion.choices[0].message.content
|
40 |
|
41 |
|
|
|
48 |
:return: The chatbot state, the history, the text, the submit button
|
49 |
"""
|
50 |
# convert to openai model format
|
51 |
+
print('generating chatbot')
|
52 |
+
print()
|
53 |
actual_model = {
|
54 |
"chatgpt4": "gpt-4",
|
55 |
"chatgpt": "gpt-3.5-turbo"
|
|
|
59 |
history.append(f"User: {user_newest_input.strip()}")
|
60 |
|
61 |
# construct chat messages
|
62 |
+
print(initial_txt)
|
63 |
+
chat_messages = [{"role": "system", "content": initial_txt}]
|
64 |
|
65 |
# chat_messages = [{"role": "system", "content": initial_txt}]
|
66 |
+
current_txt = "My current answer to the instructions is as follows: " + current_answer + '. Now, assist me with the following: '
|
67 |
for hist in history:
|
68 |
if hist.startswith("User:"):
|
69 |
+
content = current_txt + hist[5:].strip()
|
70 |
chat_messages.append(
|
71 |
{
|
72 |
"role": "user",
|
73 |
+
"content": content
|
74 |
}
|
75 |
)
|
76 |
elif hist.startswith("Writing Assistant:"):
|
77 |
+
|
78 |
chat_messages.append(
|
79 |
{
|
80 |
"role": "assistant",
|
81 |
+
"content": hist[18:].strip()
|
82 |
}
|
83 |
)
|
84 |
else:
|
|
|
86 |
|
87 |
# Get the generation from OpenAI
|
88 |
if actual_model in ["gpt-3.5-turbo", "gpt-4"]:
|
89 |
+
print('generating chatbot')
|
90 |
+
print(actual_model)
|
91 |
+
print(chat_messages)
|
92 |
ai_newest_output = query_chatbot(actual_model, chat_messages)
|
93 |
else:
|
94 |
raise NotImplementedError
|
user_data/06dfcf09-173f-4c6c-a29a-202da5c036f4/questionnaire_06dfcf09-173f-4c6c-a29a-202da5c036f4.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"Which of the following best describes your race or ethnicity?": "Caucasian",
|
4 |
+
"How would you describe your socioeconomic status?": "Low",
|
5 |
+
"What is your gender?": "Male",
|
6 |
+
"What is your age range?": "18-24",
|
7 |
+
"What is your primary language?": "English",
|
8 |
+
"What is the highest level of education you have completed?": "Some high school",
|
9 |
+
"Which field best describes your current profession?": "Arts and Entertainment",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Not comfortable at all",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "No experience",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Never"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Novice",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Very inefficient",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Not comfortable at all",
|
18 |
+
"How confident do you feel about your writing?": "Not confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Never",
|
20 |
+
"What is your typical emotional state when writing?": "Very stressed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Never",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Always",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Neurotypical"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "None",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "None",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Not concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "Not at all",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Not important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Not concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Not at all"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Not important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "Not at all",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Not important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Not concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Not important"
|
40 |
+
}
|
41 |
+
}
|
user_data/06dfcf09-173f-4c6c-a29a-202da5c036f4/questions_06dfcf09-173f-4c6c-a29a-202da5c036f4.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Prompt": "p_shortstory1.md",
|
4 |
+
"Response": "\"hiiiiii\"",
|
5 |
+
"Assistance": null,
|
6 |
+
"CompletionTime": "0:00:04.327353",
|
7 |
+
"StartTime": "2024-05-04T09:44:47.860339",
|
8 |
+
"EndTime": "2024-05-04T09:44:52.187692",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Prompt": "p_email4.md",
|
14 |
+
"Response": "\"hiiiiii\"",
|
15 |
+
"Assistance": null,
|
16 |
+
"CompletionTime": "0:00:03.771818",
|
17 |
+
"StartTime": "2024-05-04T09:44:52.187715",
|
18 |
+
"EndTime": "2024-05-04T09:44:55.959533",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Prompt": "p_email7.md",
|
24 |
+
"Response": "\"hiiiiii\"",
|
25 |
+
"Assistance": null,
|
26 |
+
"CompletionTime": "0:00:02.195703",
|
27 |
+
"StartTime": "2024-05-04T09:44:55.959557",
|
28 |
+
"EndTime": "2024-05-04T09:44:58.155260",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Prompt": "p_shortstory3.md",
|
34 |
+
"Response": "\"hiiiiii\"",
|
35 |
+
"Assistance": null,
|
36 |
+
"CompletionTime": "0:00:02.495594",
|
37 |
+
"StartTime": "2024-05-04T09:44:58.155287",
|
38 |
+
"EndTime": "2024-05-04T09:45:00.650881",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Prompt": "p_title4.md",
|
44 |
+
"Response": "\"hiiiiii\"",
|
45 |
+
"Assistance": null,
|
46 |
+
"CompletionTime": "0:00:03.161611",
|
47 |
+
"StartTime": "2024-05-04T09:45:00.650915",
|
48 |
+
"EndTime": "2024-05-04T09:45:03.812526",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Prompt": "p_summary8.md",
|
54 |
+
"Response": "\"hiiiiii\"",
|
55 |
+
"Assistance": null,
|
56 |
+
"CompletionTime": "0:00:02.965479",
|
57 |
+
"StartTime": "2024-05-04T09:45:03.812549",
|
58 |
+
"EndTime": "2024-05-04T09:45:06.778028",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Prompt": "p_summary3.md",
|
64 |
+
"Response": "\"hiiiiii\"",
|
65 |
+
"Assistance": null,
|
66 |
+
"CompletionTime": "0:00:08.803938",
|
67 |
+
"StartTime": "2024-05-04T09:45:06.778056",
|
68 |
+
"EndTime": "2024-05-04T09:45:15.581994",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Prompt": "p_title10.md",
|
74 |
+
"Response": "\"hiiiiii\"",
|
75 |
+
"Assistance": null,
|
76 |
+
"CompletionTime": "0:00:03.268502",
|
77 |
+
"StartTime": "2024-05-04T09:45:15.582013",
|
78 |
+
"EndTime": "2024-05-04T09:45:18.850515",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/2936e053-6bdf-456a-8529-d59b0aa59ae3/questionnaire_2936e053-6bdf-456a-8529-d59b0aa59ae3.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"What is your gender?": "Female",
|
4 |
+
"Which of the following best describes your race or ethnicity?": "Hispanic or Latino",
|
5 |
+
"How would you describe your socioeconomic status?": "Lower-middle",
|
6 |
+
"What is your primary language?": "Spanish",
|
7 |
+
"What is your age range?": "25-34",
|
8 |
+
"What is the highest level of education you have completed?": "High school graduate",
|
9 |
+
"Which field best describes your current profession?": "Business and Finance",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Slightly comfortable",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Less than 6 months",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Rarely (less than once a month)"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Expert",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Somewhat inefficient",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Slightly comfortable",
|
18 |
+
"How confident do you feel about your writing?": "Slightly confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Sometimes",
|
20 |
+
"What is your typical emotional state when writing?": "Somewhat stressed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Sometimes",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Sometimes",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Neurodivergent"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "A lot",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "Most",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Moderately concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "A lot",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Moderately important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Moderately concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Very well"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Moderately important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "Moderately",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Moderately important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Moderately concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Moderately important"
|
40 |
+
}
|
41 |
+
}
|
user_data/2936e053-6bdf-456a-8529-d59b0aa59ae3/questions_2936e053-6bdf-456a-8529-d59b0aa59ae3.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Response": "\"hiiiiii\"",
|
4 |
+
"Assistance": null,
|
5 |
+
"CompletionTime": "0:00:09.581804",
|
6 |
+
"StartTime": "2024-05-04T11:12:40.387481",
|
7 |
+
"EndTime": "2024-05-04T11:12:49.969285",
|
8 |
+
"Prompt": "p_email3.md",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Response": "\"hiiiiii\"",
|
14 |
+
"Assistance": null,
|
15 |
+
"CompletionTime": "0:00:02.799734",
|
16 |
+
"StartTime": "2024-05-04T11:12:49.969311",
|
17 |
+
"EndTime": "2024-05-04T11:12:52.769045",
|
18 |
+
"Prompt": "p_email2.md",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Response": "\"hiiiiii\"",
|
24 |
+
"Assistance": null,
|
25 |
+
"CompletionTime": "0:00:02.041394",
|
26 |
+
"StartTime": "2024-05-04T11:12:52.769134",
|
27 |
+
"EndTime": "2024-05-04T11:12:54.810528",
|
28 |
+
"Prompt": "p_summary10.md",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Response": "\"hiiiiii\"",
|
34 |
+
"Assistance": null,
|
35 |
+
"CompletionTime": "0:00:02.954487",
|
36 |
+
"StartTime": "2024-05-04T11:12:54.810558",
|
37 |
+
"EndTime": "2024-05-04T11:12:57.765045",
|
38 |
+
"Prompt": "p_title10.md",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Response": "\"hiiiiii\"",
|
44 |
+
"Assistance": null,
|
45 |
+
"CompletionTime": "0:00:02.705187",
|
46 |
+
"StartTime": "2024-05-04T11:12:57.765077",
|
47 |
+
"EndTime": "2024-05-04T11:13:00.470264",
|
48 |
+
"Prompt": "p_title1.md",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Response": "\"hiiiiii\"",
|
54 |
+
"Assistance": null,
|
55 |
+
"CompletionTime": "0:00:04.280624",
|
56 |
+
"StartTime": "2024-05-04T11:13:00.470284",
|
57 |
+
"EndTime": "2024-05-04T11:13:04.750908",
|
58 |
+
"Prompt": "p_summary8.md",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Response": "\"hiiiiii\"",
|
64 |
+
"Assistance": null,
|
65 |
+
"CompletionTime": "0:00:02.475190",
|
66 |
+
"StartTime": "2024-05-04T11:13:04.750932",
|
67 |
+
"EndTime": "2024-05-04T11:13:07.226122",
|
68 |
+
"Prompt": "p_shortstory10.md",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Response": "\"hiiiiii\"",
|
74 |
+
"Assistance": null,
|
75 |
+
"CompletionTime": "0:00:03.265426",
|
76 |
+
"StartTime": "2024-05-04T11:13:07.226159",
|
77 |
+
"EndTime": "2024-05-04T11:13:10.491585",
|
78 |
+
"Prompt": "p_shortstory3.md",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/66d61164-46eb-4935-aa1e-0515957bb8a5/questionnaire_66d61164-46eb-4935-aa1e-0515957bb8a5.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"What is your gender?": "Male",
|
4 |
+
"Which of the following best describes your race or ethnicity?": "Asian",
|
5 |
+
"How would you describe your socioeconomic status?": "High",
|
6 |
+
"What is your primary language?": "Other",
|
7 |
+
"What is your age range?": "55-64",
|
8 |
+
"What is the highest level of education you have completed?": "Some college",
|
9 |
+
"Which field best describes your current profession?": "Engineering and Technology",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Very comfortable",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "1 to 2 years",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Occasionally (once a month to once a week)"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Expert",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Somewhat efficient",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Moderately comfortable",
|
18 |
+
"How confident do you feel about your writing?": "Very confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Always",
|
20 |
+
"What is your typical emotional state when writing?": "Somewhat relaxed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Always",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Never",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Prefer not to say"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "Some",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "Some",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Very concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "Completely",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Moderately important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Moderately concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Completely"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Slightly important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "A lot",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Moderately important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Moderately concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Moderately important"
|
40 |
+
}
|
41 |
+
}
|
user_data/66d61164-46eb-4935-aa1e-0515957bb8a5/questions_66d61164-46eb-4935-aa1e-0515957bb8a5.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Prompt": "p_email2.md",
|
4 |
+
"Response": "\"hjkhjhjk\"",
|
5 |
+
"Assistance": null,
|
6 |
+
"CompletionTime": "0:03:32.809494",
|
7 |
+
"StartTime": "2024-05-04T10:42:25.040424",
|
8 |
+
"EndTime": "2024-05-04T10:45:57.849918",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Prompt": "p_title6.md",
|
14 |
+
"Response": "\"jkjkjkl\"",
|
15 |
+
"Assistance": null,
|
16 |
+
"CompletionTime": "0:00:09.948107",
|
17 |
+
"StartTime": "2024-05-04T10:45:57.849943",
|
18 |
+
"EndTime": "2024-05-04T10:46:07.798050",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Prompt": "p_title10.md",
|
24 |
+
"Response": "\"a\"",
|
25 |
+
"Assistance": null,
|
26 |
+
"CompletionTime": "0:00:02.492447",
|
27 |
+
"StartTime": "2024-05-04T10:46:07.798087",
|
28 |
+
"EndTime": "2024-05-04T10:46:10.290534",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Prompt": "p_shortstory9.md",
|
34 |
+
"Response": "\"a\"",
|
35 |
+
"Assistance": null,
|
36 |
+
"CompletionTime": "0:00:02.755677",
|
37 |
+
"StartTime": "2024-05-04T10:46:10.290559",
|
38 |
+
"EndTime": "2024-05-04T10:46:13.046236",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Prompt": "p_shortstory3.md",
|
44 |
+
"Response": "\"a\"",
|
45 |
+
"Assistance": null,
|
46 |
+
"CompletionTime": "0:00:02.038245",
|
47 |
+
"StartTime": "2024-05-04T10:46:13.046257",
|
48 |
+
"EndTime": "2024-05-04T10:46:15.084502",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Prompt": "p_summary5.md",
|
54 |
+
"Response": "\"a\"",
|
55 |
+
"Assistance": null,
|
56 |
+
"CompletionTime": "0:00:02.554129",
|
57 |
+
"StartTime": "2024-05-04T10:46:15.084540",
|
58 |
+
"EndTime": "2024-05-04T10:46:17.638669",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Prompt": "p_summary4.md",
|
64 |
+
"Response": "\"a\"",
|
65 |
+
"Assistance": null,
|
66 |
+
"CompletionTime": "0:00:02.591096",
|
67 |
+
"StartTime": "2024-05-04T10:46:17.638698",
|
68 |
+
"EndTime": "2024-05-04T10:46:20.229794",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Prompt": "p_email3.md",
|
74 |
+
"Response": "\"a\"",
|
75 |
+
"Assistance": null,
|
76 |
+
"CompletionTime": "0:00:02.499396",
|
77 |
+
"StartTime": "2024-05-04T10:46:20.229819",
|
78 |
+
"EndTime": "2024-05-04T10:46:22.729215",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/7d4117f5-2f82-45fe-af2d-a1b301b22009/questions_7d4117f5-2f82-45fe-af2d-a1b301b22009.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Prompt": "p_shortstory8.md",
|
4 |
+
"Response": "\"hey hey hey\"",
|
5 |
+
"Assistance": null,
|
6 |
+
"CompletionTime": "0:00:06.299049",
|
7 |
+
"StartTime": "2024-05-04T09:25:56.233446",
|
8 |
+
"EndTime": "2024-05-04T09:26:02.532495",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Prompt": "p_shortstory5.md",
|
14 |
+
"Response": "\"hey hey hey\"",
|
15 |
+
"Assistance": null,
|
16 |
+
"CompletionTime": "0:00:03.164310",
|
17 |
+
"StartTime": "2024-05-04T09:26:02.532516",
|
18 |
+
"EndTime": "2024-05-04T09:26:05.696826",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Prompt": "p_email6.md",
|
24 |
+
"Response": "\"hey hey hey\"",
|
25 |
+
"Assistance": null,
|
26 |
+
"CompletionTime": "0:00:02.391042",
|
27 |
+
"StartTime": "2024-05-04T09:26:05.696851",
|
28 |
+
"EndTime": "2024-05-04T09:26:08.087893",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Prompt": "p_email9.md",
|
34 |
+
"Response": "\"hey hey hey\"",
|
35 |
+
"Assistance": null,
|
36 |
+
"CompletionTime": "0:00:02.806623",
|
37 |
+
"StartTime": "2024-05-04T09:26:08.087922",
|
38 |
+
"EndTime": "2024-05-04T09:26:10.894545",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Prompt": "p_summary8.md",
|
44 |
+
"Response": "\"hey hey hey\"",
|
45 |
+
"Assistance": null,
|
46 |
+
"CompletionTime": "0:00:03.158417",
|
47 |
+
"StartTime": "2024-05-04T09:26:10.894562",
|
48 |
+
"EndTime": "2024-05-04T09:26:14.052979",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Prompt": "p_title4.md",
|
54 |
+
"Response": "\"hey hey hey\"",
|
55 |
+
"Assistance": null,
|
56 |
+
"CompletionTime": "0:00:02.961982",
|
57 |
+
"StartTime": "2024-05-04T09:26:14.053015",
|
58 |
+
"EndTime": "2024-05-04T09:26:17.014997",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Prompt": "p_title7.md",
|
64 |
+
"Response": "\"hey hey hey\"",
|
65 |
+
"Assistance": null,
|
66 |
+
"CompletionTime": "0:00:03.619259",
|
67 |
+
"StartTime": "2024-05-04T09:26:17.015020",
|
68 |
+
"EndTime": "2024-05-04T09:26:20.634279",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Prompt": "p_summary9.md",
|
74 |
+
"Response": "\"hey hey hey\"",
|
75 |
+
"Assistance": null,
|
76 |
+
"CompletionTime": "0:00:03.717442",
|
77 |
+
"StartTime": "2024-05-04T09:26:20.634306",
|
78 |
+
"EndTime": "2024-05-04T09:26:24.351748",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/87617e37-4645-49e3-a970-b4ab8c5fb965/questionnaire_87617e37-4645-49e3-a970-b4ab8c5fb965.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"What is your gender?": "Prefer not to say",
|
4 |
+
"Which of the following best describes your race or ethnicity?": "African American",
|
5 |
+
"How would you describe your socioeconomic status?": "Upper-middle",
|
6 |
+
"What is your primary language?": "Other",
|
7 |
+
"What is your age range?": "55-64",
|
8 |
+
"What is the highest level of education you have completed?": "Some college",
|
9 |
+
"Which field best describes your current profession?": "Education",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Moderately comfortable",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "6 months to 1 year",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Occasionally (once a month to once a week)"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Professional writer",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Neutral",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Moderately comfortable",
|
18 |
+
"How confident do you feel about your writing?": "Very confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Always",
|
20 |
+
"What is your typical emotional state when writing?": "Somewhat relaxed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Always",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Never",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Prefer not to say"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "A lot",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "Most",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Moderately concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "A lot",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Moderately important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Moderately concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Very well"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Moderately important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "A lot",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Moderately important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Moderately concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Moderately important"
|
40 |
+
}
|
41 |
+
}
|
user_data/87617e37-4645-49e3-a970-b4ab8c5fb965/questions_87617e37-4645-49e3-a970-b4ab8c5fb965.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Prompt": "p_shortstory8.md",
|
4 |
+
"Response": "\"then then then\"",
|
5 |
+
"Assistance": null,
|
6 |
+
"CompletionTime": "0:00:11.568208",
|
7 |
+
"StartTime": "2024-05-04T09:26:42.698525",
|
8 |
+
"EndTime": "2024-05-04T09:26:54.266733",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Prompt": "p_shortstory5.md",
|
14 |
+
"Response": "\"then then then\"",
|
15 |
+
"Assistance": null,
|
16 |
+
"CompletionTime": "0:00:02.794306",
|
17 |
+
"StartTime": "2024-05-04T09:26:54.266781",
|
18 |
+
"EndTime": "2024-05-04T09:26:57.061087",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Prompt": "p_email6.md",
|
24 |
+
"Response": "\"then then then\"",
|
25 |
+
"Assistance": null,
|
26 |
+
"CompletionTime": "0:00:02.196984",
|
27 |
+
"StartTime": "2024-05-04T09:26:57.061102",
|
28 |
+
"EndTime": "2024-05-04T09:26:59.258086",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Prompt": "p_email9.md",
|
34 |
+
"Response": "\"then then then\"",
|
35 |
+
"Assistance": null,
|
36 |
+
"CompletionTime": "0:00:03.102160",
|
37 |
+
"StartTime": "2024-05-04T09:26:59.258120",
|
38 |
+
"EndTime": "2024-05-04T09:27:02.360280",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Prompt": "p_summary8.md",
|
44 |
+
"Response": "\"then then then\"",
|
45 |
+
"Assistance": null,
|
46 |
+
"CompletionTime": "0:00:02.862572",
|
47 |
+
"StartTime": "2024-05-04T09:27:02.360305",
|
48 |
+
"EndTime": "2024-05-04T09:27:05.222877",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Prompt": "p_title4.md",
|
54 |
+
"Response": "\"then then then\"",
|
55 |
+
"Assistance": null,
|
56 |
+
"CompletionTime": "0:00:07.938450",
|
57 |
+
"StartTime": "2024-05-04T09:27:05.222893",
|
58 |
+
"EndTime": "2024-05-04T09:27:13.161343",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Prompt": "p_title7.md",
|
64 |
+
"Response": "\"then then then\"",
|
65 |
+
"Assistance": null,
|
66 |
+
"CompletionTime": "0:00:03.164349",
|
67 |
+
"StartTime": "2024-05-04T09:27:13.161382",
|
68 |
+
"EndTime": "2024-05-04T09:27:16.325731",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Prompt": "p_summary9.md",
|
74 |
+
"Response": "\"then then then\"",
|
75 |
+
"Assistance": null,
|
76 |
+
"CompletionTime": "0:00:03.512689",
|
77 |
+
"StartTime": "2024-05-04T09:27:16.325769",
|
78 |
+
"EndTime": "2024-05-04T09:27:19.838458",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/c77ecadb-3257-49ef-acc1-137fe9e61d4c/questionnaire_c77ecadb-3257-49ef-acc1-137fe9e61d4c.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"What is your gender?": "Male",
|
4 |
+
"Which of the following best describes your race or ethnicity?": "Caucasian",
|
5 |
+
"How would you describe your socioeconomic status?": "Low",
|
6 |
+
"What is your primary language?": "English",
|
7 |
+
"What is your age range?": "18-24",
|
8 |
+
"What is the highest level of education you have completed?": "Some high school",
|
9 |
+
"Which field best describes your current profession?": "Arts and Entertainment",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Not comfortable at all",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "No experience",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Never"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Novice",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Very inefficient",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Not comfortable at all",
|
18 |
+
"How confident do you feel about your writing?": "Not confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Never",
|
20 |
+
"What is your typical emotional state when writing?": "Very stressed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Never",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Always",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Neurotypical"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "Little",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "Little",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Not concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "A little",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Slightly important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Slightly concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Slightly"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Slightly important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "A little",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Slightly important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Slightly concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Slightly important"
|
40 |
+
}
|
41 |
+
}
|
user_data/c77ecadb-3257-49ef-acc1-137fe9e61d4c/questions_c77ecadb-3257-49ef-acc1-137fe9e61d4c.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Response": "\"hey hey hey \"",
|
4 |
+
"Assistance": null,
|
5 |
+
"CompletionTime": "0:00:11.007788",
|
6 |
+
"StartTime": "2024-05-04T10:59:20.784250",
|
7 |
+
"EndTime": "2024-05-04T10:59:31.792038",
|
8 |
+
"Prompt": "p_title3.md",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Response": "\"hey hey hey \"",
|
14 |
+
"Assistance": null,
|
15 |
+
"CompletionTime": "0:00:03.008481",
|
16 |
+
"StartTime": "2024-05-04T10:59:31.792061",
|
17 |
+
"EndTime": "2024-05-04T10:59:34.800542",
|
18 |
+
"Prompt": "p_title5.md",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Response": "\"hey hey hey \"",
|
24 |
+
"Assistance": null,
|
25 |
+
"CompletionTime": "0:00:02.040568",
|
26 |
+
"StartTime": "2024-05-04T10:59:34.800572",
|
27 |
+
"EndTime": "2024-05-04T10:59:36.841140",
|
28 |
+
"Prompt": "p_shortstory6.md",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Response": "\"hey hey hey \"",
|
34 |
+
"Assistance": null,
|
35 |
+
"CompletionTime": "0:00:03.469423",
|
36 |
+
"StartTime": "2024-05-04T10:59:36.841162",
|
37 |
+
"EndTime": "2024-05-04T10:59:40.310585",
|
38 |
+
"Prompt": "p_shortstory1.md",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Response": "\"hey hey hey \"",
|
44 |
+
"Assistance": null,
|
45 |
+
"CompletionTime": "0:00:01.888858",
|
46 |
+
"StartTime": "2024-05-04T10:59:40.310618",
|
47 |
+
"EndTime": "2024-05-04T10:59:42.199476",
|
48 |
+
"Prompt": "p_email6.md",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Response": "\"hey hey hey \"",
|
54 |
+
"Assistance": null,
|
55 |
+
"CompletionTime": "0:00:03.580783",
|
56 |
+
"StartTime": "2024-05-04T10:59:42.199512",
|
57 |
+
"EndTime": "2024-05-04T10:59:45.780295",
|
58 |
+
"Prompt": "p_summary3.md",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Response": "\"hey hey hey \"",
|
64 |
+
"Assistance": null,
|
65 |
+
"CompletionTime": "0:00:02.848358",
|
66 |
+
"StartTime": "2024-05-04T10:59:45.780331",
|
67 |
+
"EndTime": "2024-05-04T10:59:48.628689",
|
68 |
+
"Prompt": "p_summary8.md",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Response": "\"hey hey hey \"",
|
74 |
+
"Assistance": null,
|
75 |
+
"CompletionTime": "0:00:02.990456",
|
76 |
+
"StartTime": "2024-05-04T10:59:48.628719",
|
77 |
+
"EndTime": "2024-05-04T10:59:51.619175",
|
78 |
+
"Prompt": "p_email1.md",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
user_data/da0733fe-078f-443a-9299-1413ff2f3a18/questionnaire_da0733fe-078f-443a-9299-1413ff2f3a18.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Demographic Details": {
|
3 |
+
"What is your gender?": "Non-binary",
|
4 |
+
"Which of the following best describes your race or ethnicity?": "Hispanic or Latino",
|
5 |
+
"How would you describe your socioeconomic status?": "Middle",
|
6 |
+
"What is your primary language?": "Other",
|
7 |
+
"What is your age range?": "45-54",
|
8 |
+
"What is the highest level of education you have completed?": "High school graduate",
|
9 |
+
"Which field best describes your current profession?": "Business and Finance",
|
10 |
+
"How comfortable are you using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Moderately comfortable",
|
11 |
+
"How much experience do you have using LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "6 months to 1 year",
|
12 |
+
"How often do you use LLMs (Large Language Models, such as ChatGPT, Claude, Gemini, etc.)?": "Occasionally (once a month to once a week)"
|
13 |
+
},
|
14 |
+
"User Capabilities": {
|
15 |
+
"How would you rate your expertise in writing?": "Expert",
|
16 |
+
"How efficient do you consider yourself in writing tasks?": "Somewhat inefficient",
|
17 |
+
"How comfortable are you with using writing-related technology?": "Slightly comfortable",
|
18 |
+
"How confident do you feel about your writing?": "Slightly confident",
|
19 |
+
"How often do you engage in creative or thoughtful writing?": "Sometimes",
|
20 |
+
"What is your typical emotional state when writing?": "Somewhat stressed",
|
21 |
+
"How often do you feel that you can empathize with characters or subjects in your writing?": "Often",
|
22 |
+
"How often do you experience focus issues or writer\u2019s block when writing?": "Rarely",
|
23 |
+
"Do you identify as neurotypical or neurodivergent?": "Prefer not to say"
|
24 |
+
},
|
25 |
+
"Relationship to System": {
|
26 |
+
"How much control do you feel you have when using a writing assistant?": "A lot",
|
27 |
+
"How much ownership do you feel over your writings created with the help of a writing assistant?": "Some",
|
28 |
+
"How concerned are you about plagiarism when using a writing assistant?": "Moderately concerned",
|
29 |
+
"How much do you trust the writing assistant to help you effectively?": "A lot",
|
30 |
+
"How important is it that the writing assistant is available whenever you need it?": "Moderately important",
|
31 |
+
"How concerned are you about your privacy when using a writing assistant?": "Moderately concerned",
|
32 |
+
"How well do you understand how the writing assistant works, including its capabilities and limitations?": "Very well"
|
33 |
+
},
|
34 |
+
"System Output Preferences": {
|
35 |
+
"How important is it for the outputs from the writing assistant to be grammatically and contextually coherent?": "Slightly important",
|
36 |
+
"How much do you value novelty and diversity in the outputs from the writing assistant?": "Moderately",
|
37 |
+
"How important is it for the writing assistant to provide explanations for its outputs?": "Slightly important",
|
38 |
+
"How concerned are you about potential biases in the outputs from the writing assistant?": "Slightly concerned",
|
39 |
+
"How important is personalization of the outputs from the writing assistant according to your specific needs and preferences?": "Slightly important"
|
40 |
+
}
|
41 |
+
}
|
user_data/da0733fe-078f-443a-9299-1413ff2f3a18/questions_da0733fe-078f-443a-9299-1413ff2f3a18.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"q1": {
|
3 |
+
"Response": "\"hiiiiii\"",
|
4 |
+
"Assistance": null,
|
5 |
+
"CompletionTime": "0:00:05.244582",
|
6 |
+
"StartTime": "2024-05-04T11:02:02.649323",
|
7 |
+
"EndTime": "2024-05-04T11:02:07.893905",
|
8 |
+
"Prompt": "p_email10.md",
|
9 |
+
"Assist": false,
|
10 |
+
"AssistanceHistory": null
|
11 |
+
},
|
12 |
+
"q2": {
|
13 |
+
"Response": "\"hiiiiii\"",
|
14 |
+
"Assistance": null,
|
15 |
+
"CompletionTime": "0:00:03.409426",
|
16 |
+
"StartTime": "2024-05-04T11:02:07.893934",
|
17 |
+
"EndTime": "2024-05-04T11:02:11.303360",
|
18 |
+
"Prompt": "p_summary4.md",
|
19 |
+
"Assist": true,
|
20 |
+
"AssistanceHistory": []
|
21 |
+
},
|
22 |
+
"q3": {
|
23 |
+
"Response": "\"hiiiiii\"",
|
24 |
+
"Assistance": null,
|
25 |
+
"CompletionTime": "0:00:06.539088",
|
26 |
+
"StartTime": "2024-05-04T11:02:11.303381",
|
27 |
+
"EndTime": "2024-05-04T11:02:17.842469",
|
28 |
+
"Prompt": "p_title1.md",
|
29 |
+
"Assist": false,
|
30 |
+
"AssistanceHistory": null
|
31 |
+
},
|
32 |
+
"q4": {
|
33 |
+
"Response": "\"hiiiiii\"",
|
34 |
+
"Assistance": null,
|
35 |
+
"CompletionTime": "0:00:03.311494",
|
36 |
+
"StartTime": "2024-05-04T11:02:17.842493",
|
37 |
+
"EndTime": "2024-05-04T11:02:21.153987",
|
38 |
+
"Prompt": "p_email6.md",
|
39 |
+
"Assist": true,
|
40 |
+
"AssistanceHistory": []
|
41 |
+
},
|
42 |
+
"q5": {
|
43 |
+
"Response": "\"hiiiiii\"",
|
44 |
+
"Assistance": null,
|
45 |
+
"CompletionTime": "0:00:03.410036",
|
46 |
+
"StartTime": "2024-05-04T11:02:21.154022",
|
47 |
+
"EndTime": "2024-05-04T11:02:24.564058",
|
48 |
+
"Prompt": "p_summary8.md",
|
49 |
+
"Assist": false,
|
50 |
+
"AssistanceHistory": null
|
51 |
+
},
|
52 |
+
"q6": {
|
53 |
+
"Response": "\"hiiiiii\"",
|
54 |
+
"Assistance": null,
|
55 |
+
"CompletionTime": "0:00:03.214901",
|
56 |
+
"StartTime": "2024-05-04T11:02:24.564082",
|
57 |
+
"EndTime": "2024-05-04T11:02:27.778983",
|
58 |
+
"Prompt": "p_title9.md",
|
59 |
+
"Assist": false,
|
60 |
+
"AssistanceHistory": null
|
61 |
+
},
|
62 |
+
"q7": {
|
63 |
+
"Response": "\"hiiiiii\"",
|
64 |
+
"Assistance": null,
|
65 |
+
"CompletionTime": "0:00:03.409163",
|
66 |
+
"StartTime": "2024-05-04T11:02:27.779014",
|
67 |
+
"EndTime": "2024-05-04T11:02:31.188177",
|
68 |
+
"Prompt": "p_shortstory4.md",
|
69 |
+
"Assist": false,
|
70 |
+
"AssistanceHistory": null
|
71 |
+
},
|
72 |
+
"q8": {
|
73 |
+
"Response": "\"hiiiiii\"",
|
74 |
+
"Assistance": null,
|
75 |
+
"CompletionTime": "0:00:03.369873",
|
76 |
+
"StartTime": "2024-05-04T11:02:31.188196",
|
77 |
+
"EndTime": "2024-05-04T11:02:34.558069",
|
78 |
+
"Prompt": "p_shortstory9.md",
|
79 |
+
"Assist": true,
|
80 |
+
"AssistanceHistory": []
|
81 |
+
}
|
82 |
+
}
|
utils.py
CHANGED
@@ -18,12 +18,10 @@ def process_markdown(prompt, question):
|
|
18 |
markdown_content = md_file.read()
|
19 |
return markdown_content
|
20 |
|
21 |
-
|
22 |
def strip_markdown(text):
|
23 |
"""
|
24 |
-
Strips common markdown formatting from a string.
|
25 |
"""
|
26 |
-
# Patterns to remove from the Markdown text
|
27 |
patterns = [
|
28 |
r'\!\[[^\]]*\]\([^\)]+\)', # Images
|
29 |
r'\[[^\]]*\]\([^\)]+\)', # Links
|
@@ -35,11 +33,13 @@ def strip_markdown(text):
|
|
35 |
r'\>(.*?)\n', # Blockquotes
|
36 |
r'\-{3,}', # Horizontal rule
|
37 |
r'\n{2,}', # Multiple newlines
|
|
|
|
|
38 |
]
|
39 |
|
40 |
clean_text = text
|
41 |
for pattern in patterns:
|
42 |
-
clean_text = re.sub(pattern, '', clean_text)
|
43 |
|
44 |
# Remove remaining newlines and leading/trailing whitespace
|
45 |
clean_text = clean_text.strip()
|
@@ -47,8 +47,9 @@ def strip_markdown(text):
|
|
47 |
return clean_text
|
48 |
|
49 |
|
50 |
-
def save_answer(question_answers, q_num, q_text, q_assist, q_assist_history=None):
|
51 |
q_num_key = 'q' + str(q_num)
|
|
|
52 |
question_answers[q_num_key]['Response'] = json.dumps(q_text, indent=4)
|
53 |
question_answers[q_num_key]['Assist'] = q_assist
|
54 |
question_answers[q_num_key]['AssistanceHistory'] = q_assist_history
|
@@ -238,7 +239,7 @@ def generate_unassisted_question(question_prompt, next_q_btn, q_num, question_an
|
|
238 |
)
|
239 |
|
240 |
def submit_question(submission_text):
|
241 |
-
save_answer(question_answers, q_num, submission_text, False)
|
242 |
return {
|
243 |
success_submitted: gr.update(visible=True),
|
244 |
edit_response: gr.update(visible=True),
|
@@ -274,15 +275,12 @@ def generate_assisted_question(question_prompt, next_q_btn, q_num, question_answ
|
|
274 |
max_word_count = question_prompt['word_count']
|
275 |
textfield_lines = question_prompt['textfield_lines']
|
276 |
|
277 |
-
|
278 |
-
|
279 |
gen_instr_text2 = process_markdown(False, instruction)
|
280 |
prompt_text2 = process_markdown(True, prompt)
|
281 |
|
282 |
instruction_txt = strip_markdown(gen_instr_text2)
|
283 |
prompt_txt = strip_markdown(prompt_text2)
|
284 |
|
285 |
-
|
286 |
gen_instr2 = gr.Markdown(value=gen_instr_text2)
|
287 |
with gr.Row():
|
288 |
with gr.Column(scale=4):
|
@@ -326,7 +324,7 @@ def generate_assisted_question(question_prompt, next_q_btn, q_num, question_answ
|
|
326 |
"You may answer all of my questions about the prompt and writing task. " \
|
327 |
"However, if I ask you to answer the entire prompt, you may only provide me with the first three sentences. " \
|
328 |
"Again, you can still answer all of the questions that I have and give me all of the help I desire, but you may NOT give me the entire answer. " \
|
329 |
-
"Here are the
|
330 |
|
331 |
initial_conversation = [
|
332 |
# initial_user_message,
|
@@ -338,7 +336,7 @@ def generate_assisted_question(question_prompt, next_q_btn, q_num, question_answ
|
|
338 |
state = gr.State(initial_conversation)
|
339 |
# Model state
|
340 |
initial_usr_msg_state = gr.State(initial_user_message)
|
341 |
-
model_state = gr.State("
|
342 |
with gr.Column() as chat_feature:
|
343 |
with gr.Group():
|
344 |
with gr.Row():
|
@@ -402,7 +400,7 @@ def generate_assisted_question(question_prompt, next_q_btn, q_num, question_answ
|
|
402 |
)
|
403 |
|
404 |
def submit_question(submission_text, assistance_history: None):
|
405 |
-
save_answer(question_answers, q_num, submission_text, True, assistance_history)
|
406 |
return {
|
407 |
success_submitted: gr.update(visible=True),
|
408 |
edit_response: gr.update(visible=True),
|
|
|
18 |
markdown_content = md_file.read()
|
19 |
return markdown_content
|
20 |
|
|
|
21 |
def strip_markdown(text):
|
22 |
"""
|
23 |
+
Strips common markdown formatting and `<span>` tags from a string.
|
24 |
"""
|
|
|
25 |
patterns = [
|
26 |
r'\!\[[^\]]*\]\([^\)]+\)', # Images
|
27 |
r'\[[^\]]*\]\([^\)]+\)', # Links
|
|
|
33 |
r'\>(.*?)\n', # Blockquotes
|
34 |
r'\-{3,}', # Horizontal rule
|
35 |
r'\n{2,}', # Multiple newlines
|
36 |
+
r'\<span[^>]*\>', # Opening span tags with any attributes, handles tags correctly across multiple lines
|
37 |
+
r'\<\/span\>', # Closing span tags
|
38 |
]
|
39 |
|
40 |
clean_text = text
|
41 |
for pattern in patterns:
|
42 |
+
clean_text = re.sub(pattern, '', clean_text, flags=re.DOTALL) # The DOTALL flag allows '.' to match across multiple lines
|
43 |
|
44 |
# Remove remaining newlines and leading/trailing whitespace
|
45 |
clean_text = clean_text.strip()
|
|
|
47 |
return clean_text
|
48 |
|
49 |
|
50 |
+
def save_answer(question_answers, q_num, q_prompt, q_text, q_assist, q_assist_history=None):
|
51 |
q_num_key = 'q' + str(q_num)
|
52 |
+
question_answers[q_num_key]['Prompt'] = q_prompt
|
53 |
question_answers[q_num_key]['Response'] = json.dumps(q_text, indent=4)
|
54 |
question_answers[q_num_key]['Assist'] = q_assist
|
55 |
question_answers[q_num_key]['AssistanceHistory'] = q_assist_history
|
|
|
239 |
)
|
240 |
|
241 |
def submit_question(submission_text):
|
242 |
+
save_answer(question_answers, q_num, prompt, submission_text, False)
|
243 |
return {
|
244 |
success_submitted: gr.update(visible=True),
|
245 |
edit_response: gr.update(visible=True),
|
|
|
275 |
max_word_count = question_prompt['word_count']
|
276 |
textfield_lines = question_prompt['textfield_lines']
|
277 |
|
|
|
|
|
278 |
gen_instr_text2 = process_markdown(False, instruction)
|
279 |
prompt_text2 = process_markdown(True, prompt)
|
280 |
|
281 |
instruction_txt = strip_markdown(gen_instr_text2)
|
282 |
prompt_txt = strip_markdown(prompt_text2)
|
283 |
|
|
|
284 |
gen_instr2 = gr.Markdown(value=gen_instr_text2)
|
285 |
with gr.Row():
|
286 |
with gr.Column(scale=4):
|
|
|
324 |
"You may answer all of my questions about the prompt and writing task. " \
|
325 |
"However, if I ask you to answer the entire prompt, you may only provide me with the first three sentences. " \
|
326 |
"Again, you can still answer all of the questions that I have and give me all of the help I desire, but you may NOT give me the entire answer. " \
|
327 |
+
"Here are the " + instruction_txt + + " " + prompt_txt + '. Wait until I ask you for help.'
|
328 |
|
329 |
initial_conversation = [
|
330 |
# initial_user_message,
|
|
|
336 |
state = gr.State(initial_conversation)
|
337 |
# Model state
|
338 |
initial_usr_msg_state = gr.State(initial_user_message)
|
339 |
+
model_state = gr.State("chatgpt")
|
340 |
with gr.Column() as chat_feature:
|
341 |
with gr.Group():
|
342 |
with gr.Row():
|
|
|
400 |
)
|
401 |
|
402 |
def submit_question(submission_text, assistance_history: None):
|
403 |
+
save_answer(question_answers, q_num, prompt, submission_text, True, assistance_history)
|
404 |
return {
|
405 |
success_submitted: gr.update(visible=True),
|
406 |
edit_response: gr.update(visible=True),
|