ryanrwatkins commited on
Commit
4b8426d
·
verified ·
1 Parent(s): 352b621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -666,7 +666,7 @@ def answer_template(language="english"):
666
  {{chat_history}}
667
 
668
  {{context}}
669
- {{source_documents}}
670
  </context>
671
 
672
  Question: {{question}}
@@ -701,7 +701,7 @@ chain = ConversationalRetrievalChain.from_llm(
701
 
702
 
703
 
704
- # It
705
  '''
706
  def create_ConversationalRetrievalChain(
707
  llm,condense_question_llm,
@@ -785,8 +785,8 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
785
 
786
 
787
  completion = chain.invoke({"question":prompt})
788
-
789
- #print(completion)
790
 
791
 
792
 
 
666
  {{chat_history}}
667
 
668
  {{context}}
669
+
670
  </context>
671
 
672
  Question: {{question}}
 
701
 
702
 
703
 
704
+
705
  '''
706
  def create_ConversationalRetrievalChain(
707
  llm,condense_question_llm,
 
785
 
786
 
787
  completion = chain.invoke({"question":prompt})
788
+ print("completion text from invoke on line 787")
789
+ print(completion)
790
 
791
 
792