Update utils.py
Browse files
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 = {
|