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