Update app.py
Browse files
app.py
CHANGED
|
@@ -457,6 +457,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
| 457 |
result = llm_chain(llm, history_text_und_prompt)
|
| 458 |
print("result llm ohne rag:...................")
|
| 459 |
print(result)
|
|
|
|
| 460 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 461 |
if (result == None or is_response_similar(result)):
|
| 462 |
print("Suche im Netz: ...........")
|
|
|
|
| 457 |
result = llm_chain(llm, history_text_und_prompt)
|
| 458 |
print("result llm ohne rag:...................")
|
| 459 |
print(result)
|
| 460 |
+
print("result ende .......................")
|
| 461 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 462 |
if (result == None or is_response_similar(result)):
|
| 463 |
print("Suche im Netz: ...........")
|