tykiww commited on
Commit
fbfb5ab
·
verified ·
1 Parent(s): b579ccf

Update services/qa_service/qna.py

Browse files
Files changed (1) hide show
  1. services/qa_service/qna.py +1 -1
services/qa_service/qna.py CHANGED
@@ -52,8 +52,8 @@ class QAService:
52
  def run(self):
53
  """Query pinecone outputs and infer results"""
54
  full_context = self.retrieve_context()
55
- print(full_context)
56
  context = '\n'.join([i["text"] for i in full_context])
 
57
  prompt = format_prompt(self.question, context)
58
  output = self.model_pipeline.infer(prompt)
59
 
 
52
  def run(self):
53
  """Query pinecone outputs and infer results"""
54
  full_context = self.retrieve_context()
 
55
  context = '\n'.join([i["text"] for i in full_context])
56
+ print(context)
57
  prompt = format_prompt(self.question, context)
58
  output = self.model_pipeline.infer(prompt)
59