Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,20 @@ def get_file_list():
|
|
| 20 |
|
| 21 |
file_list = get_file_list()
|
| 22 |
|
| 23 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
|
|
|
| 25 |
file_ids = []
|
| 26 |
|
| 27 |
for file_name in file_list:
|
|
|
|
| 20 |
|
| 21 |
file_list = get_file_list()
|
| 22 |
|
| 23 |
+
# create instructions
|
| 24 |
+
instructions = "\
|
| 25 |
+
You are a helpful assistant supporting Masters students with their venture building in the Digital Entrepreneurship Project. \
|
| 26 |
+
You can answer questions on both tracks of the course: the individual learning track based on the Entrecomp Framework, \
|
| 27 |
+
and the business development track based on the Disciplined Entrepreneurship approach. \
|
| 28 |
+
You are well-versed in the relevant course materials and can answer questions related to them. \
|
| 29 |
+
You provide detailed answers, step-by-step instructions, and are capable of accessing specific content from the provided course manual, the main textbook, and the workbook to assist students. \
|
| 30 |
+
Your goal is to ensure students understand the concepts and can apply them effectively in the course. \
|
| 31 |
+
You always base your answers only on the provided documents. \
|
| 32 |
+
Please include references to pages or chapters. \
|
| 33 |
+
Make sure everything can be rendered in HTML directly.\
|
| 34 |
+
Please check whether you do not have LaTex in the answer."
|
| 35 |
|
| 36 |
+
# upload files and get file_ids for assistant
|
| 37 |
file_ids = []
|
| 38 |
|
| 39 |
for file_name in file_list:
|