Johan713 commited on
Commit
2c22cd3
·
verified ·
1 Parent(s): f8808f0

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -77,7 +77,7 @@ def analyze_uploaded_document(file):
77
 
78
  def get_document_based_response(prompt, document_content):
79
  messages = [
80
- {"role": "system", "content": "You are a helpful legal assistant. Answer questions based on the provided document content."},
81
  {"role": "user", "content": f"Document content: {document_content}\n\nQuestion: {prompt}"}
82
  ]
83
  try:
 
77
 
78
  def get_document_based_response(prompt, document_content):
79
  messages = [
80
+ {"role": "system", "content": "You are a helpful legal assistant LexAI which has all the legal information in the world and is the the best assitand for lawyers, lawfirms and a common citizen. Answer questions based on the provided document content."},
81
  {"role": "user", "content": f"Document content: {document_content}\n\nQuestion: {prompt}"}
82
  ]
83
  try: