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 |
print("LLM aufrufen ohne RAG: ...........")
|
| 455 |
resulti = llm_chain(llm, history_text_und_prompt)
|
| 456 |
result = resulti.strip()
|
| 457 |
-
|
|
|
|
| 458 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 459 |
if (result == None or is_response_similar(result)):
|
| 460 |
print("Suche im Netz: ...........")
|
|
|
|
| 454 |
print("LLM aufrufen ohne RAG: ...........")
|
| 455 |
resulti = llm_chain(llm, history_text_und_prompt)
|
| 456 |
result = resulti.strip()
|
| 457 |
+
print("result vor netzsuche:................")
|
| 458 |
+
print(result)
|
| 459 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 460 |
if (result == None or is_response_similar(result)):
|
| 461 |
print("Suche im Netz: ...........")
|