alexkueck commited on
Commit
3a20af1
·
verified ·
1 Parent(s): 17aa499

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -408,7 +408,7 @@ def rag_chain(llm, prompt, retriever):
408
  #für text-generation:
409
  #messages = [{"role": "user", "content": input_text},]
410
  #für summarizatiuon
411
- answer = llm(input_text, min_length=150, do_sample=False)
412
 
413
  # Erstelle das Ergebnis-Dictionary
414
  result = {
 
408
  #für text-generation:
409
  #messages = [{"role": "user", "content": input_text},]
410
  #für summarizatiuon
411
+ answer = llm(input_text,max_length=1024, min_length=150, do_sample=False)
412
 
413
  # Erstelle das Ergebnis-Dictionary
414
  result = {