AlbertoFH98 commited on
Commit
66b764e
1 Parent(s): a821999

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -195,7 +195,7 @@ def get_gpt_response(transcription_path, query, logger):
195
  return "\n\n".join(doc.page_content for doc in docs)
196
 
197
  rag_chain = (
198
- {"context": retriever | format_docs, "question": RunnablePassthrough()}
199
  | rag_prompt_custom
200
  | llm
201
  | StrOutputParser()
 
195
  return "\n\n".join(doc.page_content for doc in docs)
196
 
197
  rag_chain = (
198
+ {"context": retriever, "question": RunnablePassthrough()}
199
  | rag_prompt_custom
200
  | llm
201
  | StrOutputParser()