seansullivan commited on
Commit
bba22bf
·
verified ·
1 Parent(s): b35eba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -131,7 +131,6 @@ def generate_response(prompt):
131
  response = rag_chain_with_source.invoke(prompt)
132
  answer = response["answer"]
133
  formatted_response = f"Answer: {answer}\n\nSources:\n" + "\n".join(sources)
134
- yield sources_txt
135
 
136
  # question = "How can I do hybrid search with a pinecone database?"
137
  # answer = generate_response(question)
 
131
  response = rag_chain_with_source.invoke(prompt)
132
  answer = response["answer"]
133
  formatted_response = f"Answer: {answer}\n\nSources:\n" + "\n".join(sources)
 
134
 
135
  # question = "How can I do hybrid search with a pinecone database?"
136
  # answer = generate_response(question)