Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,20 +31,13 @@ def repo_get_all_employees_from_database():
|
|
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
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
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"
|
|
|
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 |
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"
|