Spaces:
Runtime error
Runtime error
Fix system msg
Browse files
app.py
CHANGED
@@ -32,11 +32,12 @@ def repo_get_all_employees_from_database():
|
|
32 |
def predict(message, history):
|
33 |
history_openai_format = []
|
34 |
system_content = """
|
35 |
-
You are
|
36 |
-
You
|
37 |
-
|
38 |
-
|
39 |
-
You always
|
|
|
40 |
"""
|
41 |
history_openai_format.append({"role": "system", "content": system_content})
|
42 |
pattern = r"For conducting an interview I need (\d+) employee.*start time is (.*), duration (\d+) hour"
|
|
|
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"
|