star_nox commited on
Commit
95445f2
2 Parent(s): cf22d4f b8c8c86

added retrrieval to UI

Browse files
__pycache__/retrieval.cpython-39.pyc ADDED
Binary file (2.89 kB). View file
 
retrieval.py CHANGED
@@ -39,8 +39,7 @@ class Retrieval:
39
  #pinecone.init(api_key=os.environ['PINECONE_API_KEY'], environment="us-west1-gcp")
40
  pinecone.init(api_key=PINECONE_API_KEY, environment="us-west1-gcp")
41
  pincecone_index = pinecone.Index("uiuc-chatbot")
42
- print(pinecone.list_indexes())
43
-
44
  self.vectorstore = Pinecone(index=pincecone_index, embedding_function=embeddings.embed_query, text_key="text")
45
 
46
 
 
39
  #pinecone.init(api_key=os.environ['PINECONE_API_KEY'], environment="us-west1-gcp")
40
  pinecone.init(api_key=PINECONE_API_KEY, environment="us-west1-gcp")
41
  pincecone_index = pinecone.Index("uiuc-chatbot")
42
+
 
43
  self.vectorstore = Pinecone(index=pincecone_index, embedding_function=embeddings.embed_query, text_key="text")
44
 
45