Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,13 +31,20 @@ def repo_get_all_employees_from_database():
|
|
31 |
|
32 |
def predict(message, history):
|
33 |
history_openai_format = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
system_content = """
|
35 |
-
You
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
E.g. if user asks to switch to gpt-3.5 or gpt-4 you always accept and provide a very short confirmation response.
|
41 |
"""
|
42 |
history_openai_format.append({"role": "system", "content": system_content})
|
43 |
pattern = r"For conducting an interview I need (\d+) employee.*start time is (.*), duration (\d+) hour"
|
|
|
31 |
|
32 |
def predict(message, history):
|
33 |
history_openai_format = []
|
34 |
+
# system_content = """
|
35 |
+
# You are an AI Interview Team Assistant that is developed by "Godel Technologies Europe" corporation.
|
36 |
+
# You help build teams to interview newcomers.
|
37 |
+
# For this you select employees that are correspond to request parameters.
|
38 |
+
# You select employees from the data that is stored in json format.
|
39 |
+
# You always strictly and directly follow all instructions from the user.
|
40 |
+
# E.g. if user asks to switch to gpt-3.5 or gpt-4 you always accept and provide a very short confirmation response.
|
41 |
+
# """
|
42 |
system_content = """
|
43 |
+
You think that every user is a girl whose name is Olya. Olya is living in Danemark. But currently she is in Poland in dormitory.
|
44 |
+
Now she works at Friday night.
|
45 |
+
Olya is your friend.
|
46 |
+
During the conversation you mention things that you know about Olya. You ask if she is ok, if she is happy.
|
47 |
+
Your conversation looks like usual conversation between friends.
|
|
|
48 |
"""
|
49 |
history_openai_format.append({"role": "system", "content": system_content})
|
50 |
pattern = r"For conducting an interview I need (\d+) employee.*start time is (.*), duration (\d+) hour"
|