Update App/Embedding/utils/Initialize.py
Browse files
App/Embedding/utils/Initialize.py
CHANGED
@@ -29,9 +29,9 @@ def initDocument():
|
|
29 |
)
|
30 |
|
31 |
|
32 |
-
docsearch = Pinecone.from_existing_index(index_name, embeddings)
|
33 |
|
34 |
-
return
|
35 |
|
36 |
|
37 |
|
|
|
29 |
)
|
30 |
|
31 |
|
32 |
+
#docsearch = Pinecone.from_existing_index(index_name, embeddings)
|
33 |
|
34 |
+
return vector_index
|
35 |
|
36 |
|
37 |
|