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