Update app.py
Browse files
app.py
CHANGED
@@ -492,7 +492,7 @@ def generate_text_zu_bild(file, prompt, k):
|
|
492 |
document_storage_chroma(splits)
|
493 |
db = document_retrieval_chroma()
|
494 |
#mit RAG:
|
495 |
-
neu_text_mit_chunks =
|
496 |
#für Chat LLM:
|
497 |
#prompt = generate_prompt_with_history_openai(neu_text_mit_chunks, history)
|
498 |
#als reiner prompt:
|
|
|
492 |
document_storage_chroma(splits)
|
493 |
db = document_retrieval_chroma()
|
494 |
#mit RAG:
|
495 |
+
neu_text_mit_chunks = rag_chain2(prompt, db, k)
|
496 |
#für Chat LLM:
|
497 |
#prompt = generate_prompt_with_history_openai(neu_text_mit_chunks, history)
|
498 |
#als reiner prompt:
|