Update app.py
Browse files
app.py
CHANGED
|
@@ -417,7 +417,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
| 417 |
else:
|
| 418 |
splittet = False
|
| 419 |
print("LLM aufrufen ohne RAG: ...........")
|
| 420 |
-
result = llm_chain(llm, history_text_und_prompt)
|
| 421 |
|
| 422 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 423 |
if is_response_similar(result):
|
|
|
|
| 417 |
else:
|
| 418 |
splittet = False
|
| 419 |
print("LLM aufrufen ohne RAG: ...........")
|
| 420 |
+
result = create_assistant_suche(history_text_und_prompt) #llm_chain(llm, history_text_und_prompt)
|
| 421 |
|
| 422 |
#Wenn keine Antwort möglich "Ich weiß es nicht" etc., dann versuchen mit Suche im Internet.
|
| 423 |
if is_response_similar(result):
|