Update app.py
Browse files
app.py
CHANGED
@@ -63,8 +63,8 @@ def main():
|
|
63 |
# Question input
|
64 |
query = st.text_input("Frag deinen Dokumenten!")
|
65 |
if query:
|
66 |
-
systemquery = "You are a fraud analyst. You must help your colleague to answer the question below. Do not hallucinate. Provide all the relevant legal text."
|
67 |
-
result = conversation_chain({"question": query})
|
68 |
answer = result["answer"]
|
69 |
st.write("Antwort:", answer)
|
70 |
st.write("Quellen:")
|
|
|
63 |
# Question input
|
64 |
query = st.text_input("Frag deinen Dokumenten!")
|
65 |
if query:
|
66 |
+
systemquery = "You are a fraud analyst. You must help your colleague to answer the question below. Do not hallucinate. Provide all the relevant legal text. Answer in German"
|
67 |
+
result = conversation_chain({"question": systemquery +"\n\n"+query})
|
68 |
answer = result["answer"]
|
69 |
st.write("Antwort:", answer)
|
70 |
st.write("Quellen:")
|