Update app.py
Browse files
app.py
CHANGED
@@ -454,7 +454,8 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
454 |
else:
|
455 |
splittet = False
|
456 |
print("LLM aufrufen ohne RAG: ...........")
|
457 |
-
|
|
|
458 |
print("result llm ohne rag:...................")
|
459 |
print(result)
|
460 |
print("result ende .......................")
|
|
|
454 |
else:
|
455 |
splittet = False
|
456 |
print("LLM aufrufen ohne RAG: ...........")
|
457 |
+
resulti = llm_chain(llm, history_text_und_prompt)
|
458 |
+
result = resulti.strip()
|
459 |
print("result llm ohne rag:...................")
|
460 |
print(result)
|
461 |
print("result ende .......................")
|