naveenvenkatesh commited on
Commit
f906a84
1 Parent(s): 549a722

Update contract_missing_clausses.py

Browse files
Files changed (1) hide show
  1. contract_missing_clausses.py +4 -4
contract_missing_clausses.py CHANGED
@@ -48,11 +48,11 @@ class ContractMissingClauses:
48
  contract (str): The text of the contract.
49
  """
50
  try:
51
- LOGGER.info("Analyzing contract and extracting missing clauses...")
52
- # Generate text using the OpenAI GPT-3 model
53
  conversation = [
54
- {"role": "system", "content": "You are a helpful missing clauses,sub-clauses and terms Finder in Given Contract."},
55
- {"role": "user", "content": f"""identify missing clauses,sub-clauses and terms from given contrct ***{contract}*** return only missing (clauses,sub-clauses and terms) seperately."""}
56
  ]
57
 
58
  # Call OpenAI GPT-3.5-turbo
 
48
  contract (str): The text of the contract.
49
  """
50
  try:
51
+ LOGGER.info("Analyzing contract and extracting missing clauses...")
52
+ # Generate text using the OpenAI GPT-3 model
53
  conversation = [
54
+ {"role": "system", "content": "You are a helpful incomplete sentences finder"},
55
+ {"role": "user", "content": f"""list out the incomplete sentences in the following text: {text}"""}
56
  ]
57
 
58
  # Call OpenAI GPT-3.5-turbo