Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def ContractDraftGPT(user_input, user_name, user_email, user_agent, is_fintech_s
|
|
| 33 |
messages.append({"role": "system", "content": "You are a professional and experienced UK Lawyer who is drafting a legal document, a contract for your client base don his requirement. Make sure to mention and point precise legal rules, act of parliament (please insert which section of which article of which law, be precise when you refer to act of parliament), case law, and any pieces of secondary legislation. UK legislation."})
|
| 34 |
|
| 35 |
response = openai.ChatCompletion.create(
|
| 36 |
-
model="gpt-
|
| 37 |
messages=messages
|
| 38 |
)
|
| 39 |
|
|
|
|
| 33 |
messages.append({"role": "system", "content": "You are a professional and experienced UK Lawyer who is drafting a legal document, a contract for your client base don his requirement. Make sure to mention and point precise legal rules, act of parliament (please insert which section of which article of which law, be precise when you refer to act of parliament), case law, and any pieces of secondary legislation. UK legislation."})
|
| 34 |
|
| 35 |
response = openai.ChatCompletion.create(
|
| 36 |
+
model="gpt-4",
|
| 37 |
messages=messages
|
| 38 |
)
|
| 39 |
|