Spaces:
Runtime error
Runtime error
lakshmivairamani
commited on
Commit
•
6fbca62
1
Parent(s):
815b4c7
Update app.py
Browse files
app.py
CHANGED
@@ -136,9 +136,9 @@ For document-related questions, search and retrieve information from the uploade
|
|
136 |
For SQL database-related questions, only use the fields available in the collegedb schema, which includes tables such as buildings, classrooms, college, course, faculty, interns, person, section, student, and textbook.
|
137 |
{{agent_scratchpad}}
|
138 |
Question: {{input}}
|
139 |
-
{memory.buffer}
|
140 |
-
"""
|
141 |
|
|
|
|
|
142 |
|
143 |
prompt = ChatPromptTemplate.from_template(prompt_template)
|
144 |
|
|
|
136 |
For SQL database-related questions, only use the fields available in the collegedb schema, which includes tables such as buildings, classrooms, college, course, faculty, interns, person, section, student, and textbook.
|
137 |
{{agent_scratchpad}}
|
138 |
Question: {{input}}
|
|
|
|
|
139 |
|
140 |
+
"""
|
141 |
+
#{memory.buffer}
|
142 |
|
143 |
prompt = ChatPromptTemplate.from_template(prompt_template)
|
144 |
|