htafer commited on
Commit
f1a21dd
1 Parent(s): a85195a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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:")