Update app.py
Browse files
app.py
CHANGED
|
@@ -130,7 +130,7 @@ def fileSearch(index_name, prompt):
|
|
| 130 |
docsearch = Pinecone.from_existing_index(index_name, embeddings)
|
| 131 |
docs = docsearch.similarity_search(prompt)
|
| 132 |
|
| 133 |
-
return "
|
| 134 |
|
| 135 |
|
| 136 |
|
|
|
|
| 130 |
docsearch = Pinecone.from_existing_index(index_name, embeddings)
|
| 131 |
docs = docsearch.similarity_search(prompt)
|
| 132 |
|
| 133 |
+
return "Content in file: \n\n" + docs[0].page_content + "\n\n"
|
| 134 |
|
| 135 |
|
| 136 |
|