karthikeyan-r commited on
Commit
92ddd03
1 Parent(s): 56a3296

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -429,8 +429,8 @@ if selected_main_option == "Dashboard":
429
  elif ftype[-1]=='docx':
430
  docs_data = openai.docx_to_text(uploaded_file)
431
  conversation = [{"role": "system", "content": """
432
- You are a helpful Keywords Extracter..
433
- analyze the given contract and Extract Keywords for following contract in triple backticks. tags should be bullet points.contract :
434
  """},
435
  {"role": "user", "content": f"```contract: {docs_data}```"}]
436
  get_response = openai.get_response(conversation)
 
429
  elif ftype[-1]=='docx':
430
  docs_data = openai.docx_to_text(uploaded_file)
431
  conversation = [{"role": "system", "content": """
432
+ You are a helpful Aggressive Terms Finder in Given Contract.
433
+ This is a contract document content. Your task is to find aggressive terms, warning terms and penalties in the given contract.
434
  """},
435
  {"role": "user", "content": f"```contract: {docs_data}```"}]
436
  get_response = openai.get_response(conversation)