Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Changed num context retrieved
Browse files- src/vectorstore.py +2 -2
src/vectorstore.py
CHANGED
@@ -34,8 +34,8 @@ class VectorStore:
|
|
34 |
def _beautiful_context(self, docs):
|
35 |
context = ""
|
36 |
for doc in docs:
|
37 |
-
context += doc[0].page_content + "\n"
|
38 |
|
39 |
print("Context: ", context)
|
40 |
-
return context
|
41 |
|
|
|
34 |
def _beautiful_context(self, docs):
|
35 |
context = ""
|
36 |
for doc in docs:
|
37 |
+
context += doc[0].page_content + "\n\n"
|
38 |
|
39 |
print("Context: ", context)
|
40 |
+
return context[:-1]
|
41 |
|