MarcoAland commited on
Commit
eccab96
1 Parent(s): 6864151
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ settings = {
18
  async def generate_response(user_input: str) -> str:
19
  message = "Namamu adalah Mitrakara.\n\n" + user_input
20
  # Call documents options or not
21
- if "dokumen:" in message.lower() or "document:" in message.lower() or "documents:" in message.lower():
22
  prompt = RAG_Trwira.main(message[10:])
23
  else:
24
  prompt = message
 
18
  async def generate_response(user_input: str) -> str:
19
  message = "Namamu adalah Mitrakara.\n\n" + user_input
20
  # Call documents options or not
21
+ if "dokumen" in message.lower() or "document" in message.lower() or "documents" in message.lower():
22
  prompt = RAG_Trwira.main(message[10:])
23
  else:
24
  prompt = message