Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def document_retrieval_chroma2():
|
|
42 |
def get_rag_response(prompt):
|
43 |
global rag_chain
|
44 |
#rag-chain nutzen, um Antwort zu generieren
|
45 |
-
result = rag_chain({Frage:
|
46 |
|
47 |
#relevante Dokumente extrahieren
|
48 |
docs = result['docs']
|
|
|
42 |
def get_rag_response(prompt):
|
43 |
global rag_chain
|
44 |
#rag-chain nutzen, um Antwort zu generieren
|
45 |
+
result = rag_chain({"Frage: " : prompt})
|
46 |
|
47 |
#relevante Dokumente extrahieren
|
48 |
docs = result['docs']
|