tykiww commited on
Commit
315794b
1 Parent(s): ccc3d18

Update services/qa_service/qna.py

Browse files
Files changed (1) hide show
  1. services/qa_service/qna.py +2 -1
services/qa_service/qna.py CHANGED
@@ -44,7 +44,8 @@ class QAService:
44
  def retrieve_context(self):
45
  """Pass embedded question into pinecone"""
46
  embedded_query = self.embedder.get_text_embedding(self.question)
47
-
 
48
  index = self.pc.Index(self.conf['embeddings']['index_name'])
49
  result = index.query(
50
  vector=embedded_query,
 
44
  def retrieve_context(self):
45
  """Pass embedded question into pinecone"""
46
  embedded_query = self.embedder.get_text_embedding(self.question)
47
+ print("session key: "+self.sess_key)
48
+ print("index name: "+self.conf['embeddings']['index_name'])
49
  index = self.pc.Index(self.conf['embeddings']['index_name'])
50
  result = index.query(
51
  vector=embedded_query,