Spaces:
Running
Running
naveenvenkatesh
commited on
Commit
•
f906a84
1
Parent(s):
549a722
Update contract_missing_clausses.py
Browse files
contract_missing_clausses.py
CHANGED
@@ -48,11 +48,11 @@ class ContractMissingClauses:
|
|
48 |
contract (str): The text of the contract.
|
49 |
"""
|
50 |
try:
|
51 |
-
|
52 |
-
|
53 |
conversation = [
|
54 |
-
{"role": "system", "content": "You are a helpful
|
55 |
-
{"role": "user", "content": f"""
|
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
|