Update app2.py
Browse files76 unmodified lines7778798081828376 unmodified linesdef get_document_based_response(prompt, document_content):messages = [{"role": "system", "content": "You are a helpful legal assistant. Answer questions based on the provided document content."},{"role": "user", "content": f"Document content: {document_content}\n\nQuestion: {prompt}"}]try:76 unmodified lines7778798081828376 unmodified linesdef get_document_based_response(prompt, document_content):messages = [{"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."},{"role": "user", "content": f"Document content: {document_content}\n\nQuestion: {prompt}"}]try:
app2.py+1-1