alexkueck commited on
Commit
84a5d26
1 Parent(s): 2cff76c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = rag_chain(prompt, db, k)
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: