alexkueck commited on
Commit
4962814
·
verified ·
1 Parent(s): 1ab9d49

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -331,7 +331,7 @@ def grade_documents_direct(prompt, documents):
331
 
332
  for d in documents:
333
  llm_chain = LLMChain(llm = model, prompt = grade_prompt)
334
- score = llm_chain.run({"question": prompt, "context": d.page_content}})
335
  print("hier1..................................")
336
 
337
  if not score == "nein":
 
331
 
332
  for d in documents:
333
  llm_chain = LLMChain(llm = model, prompt = grade_prompt)
334
+ score = llm_chain.run({"question": prompt, "context": d.page_content})
335
  print("hier1..................................")
336
 
337
  if not score == "nein":