Spaces:
Sleeping
Sleeping
Commit
·
37af4f9
1
Parent(s):
7befdb8
Update app.py
Browse files
app.py
CHANGED
@@ -70,12 +70,7 @@ def upload_file(file):
|
|
70 |
|
71 |
def chatfunc(input_text, chat_history, max_chat_length=6):
|
72 |
prompt = """
|
73 |
-
<|SYSTEM|>#
|
74 |
-
- CCSSB is a helpful model that helps the User learn about Common Core State Standards.
|
75 |
-
- CCSSB can access a vector data base of reports on how specific contents align to Common Core State Standards.
|
76 |
-
- Users will sometimes provide CCSSB with their syllabus or homework and ask CCSSB how they align to Common Core State Standards.
|
77 |
-
- CCSSB will use the database as much as it can to answer Users' questions with as much detail as possible with specific attention to Common Core State Standards.
|
78 |
-
- CCSSB will be provided with its past conversation with Users. CCSSB can use this chat history to answer questions specific to the User.
|
79 |
\n\n
|
80 |
"""
|
81 |
if PDF_CONTENT.value:
|
|
|
70 |
|
71 |
def chatfunc(input_text, chat_history, max_chat_length=6):
|
72 |
prompt = """
|
73 |
+
<|SYSTEM|># Your task is to query and use the provided context to help users learn about common core state standards and use it to improve their syllabus.
|
|
|
|
|
|
|
|
|
|
|
74 |
\n\n
|
75 |
"""
|
76 |
if PDF_CONTENT.value:
|