Update app.py
Browse files
app.py
CHANGED
|
@@ -519,7 +519,7 @@ def generate_text (prompt, chatbot, history, rag_option, model_option, openai_ap
|
|
| 519 |
print("LLM aufrufen mit RAG: ...........")
|
| 520 |
print(history_text_und_prompt)
|
| 521 |
print("-------------------------------")
|
| 522 |
-
result = rag_chain(llm, history_text_und_prompt, vectorstore) #für hugchat noch kein rag möglich...
|
| 523 |
#weitere Möglichkeit für Rag-Chain - dann auch für HF Modelle möglich, da kein llm in Langchain übergeben werden muss...
|
| 524 |
#result = rag_chain2(history_text_und_prompt, db, 5)
|
| 525 |
print("result regchain.....................")
|
|
|
|
| 519 |
print("LLM aufrufen mit RAG: ...........")
|
| 520 |
print(history_text_und_prompt)
|
| 521 |
print("-------------------------------")
|
| 522 |
+
result = rag_chain(llm, history_text_und_prompt, vectorstore, retriever) #für hugchat noch kein rag möglich...
|
| 523 |
#weitere Möglichkeit für Rag-Chain - dann auch für HF Modelle möglich, da kein llm in Langchain übergeben werden muss...
|
| 524 |
#result = rag_chain2(history_text_und_prompt, db, 5)
|
| 525 |
print("result regchain.....................")
|