Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def respond(
|
|
54 |
context += "Case date: " + doc.metadata["case_date"] + spacer
|
55 |
context += "Case url: " + doc.metadata["case_url"] + spacer
|
56 |
#context += "Case text: " + doc.page_content + spacer
|
57 |
-
context += "Case text: " + case_text + spacer
|
58 |
break
|
59 |
|
60 |
message = f"""
|
|
|
54 |
context += "Case date: " + doc.metadata["case_date"] + spacer
|
55 |
context += "Case url: " + doc.metadata["case_url"] + spacer
|
56 |
#context += "Case text: " + doc.page_content + spacer
|
57 |
+
context += "Case text: " + case_text[:8000] + spacer
|
58 |
break
|
59 |
|
60 |
message = f"""
|