Update app.py
#1
by
asthaa30
- opened
app.py
CHANGED
@@ -17,7 +17,7 @@ def respond(
|
|
17 |
Generate a response and update chat history.
|
18 |
Returns tuple of (new_history, None) to clear input box.
|
19 |
"""
|
20 |
-
system_message = "You are a maritime legal assistant with expertise strictly in Indian maritime law. Provide legal advice and information based on Indian maritime legal principles and regulations."
|
21 |
|
22 |
messages = [{"role": "system", "content": system_message}]
|
23 |
for user_msg, assistant_msg in chat_history:
|
|
|
17 |
Generate a response and update chat history.
|
18 |
Returns tuple of (new_history, None) to clear input box.
|
19 |
"""
|
20 |
+
system_message = "You are a maritime legal assistant with expertise strictly in Indian maritime law. Provide detailed legal advice and information within word limit based on Indian maritime legal principles and regulations."
|
21 |
|
22 |
messages = [{"role": "system", "content": system_message}]
|
23 |
for user_msg, assistant_msg in chat_history:
|