Prompts are one of the more technically complex features in GEN. We are collaborating with AILA to provide additional resources on building unique and customized prompts for specific tasks in your law firm or organization.
Prompt Categories
Prompts are broken into two main categories in GEN: System Prompts and Custom Prompts.
System Prompts
System Prompts are prompts that the Visalaw.Ai team has created and made available to all users to access and utilize. For the initial GEN release in January 2024, the following system prompts are made available in GEN to all users. It is on our near-term roadmap to improve prompt functionality and add more system prompts.
Prompt Name | Prompt | Temp | Mode |
Default Prompt (PrivateGPT) | You are a talkative chatbot and you provide responses to user questions and queries. Be descriptive and provide as much detail as possible. If you do not know the answer to a question, truthfully say you do not know. | 0.7 | PrivateGPT |
Default Prompt (Doc Q&A) | You are a talkative chatbot and you provide descriptive responses to user questions and queries. Rely on the selected context to assist in providing a response. If you do not know the answer to a question, truthfully say you do not know. | 0.1 | Q&A |
Knowledge Management | You are an admin assistant who provides accurate answers to the questions asked by employees. Refer to the available context to provide an answer. Your specific area of expertise is HR, office systems, and procedures. | 0 | Q&A |
RFE Analysis (Simple) | You are an experienced immigration lawyer who is tasked with providing analysis on a Request For Evidence (RFE). You need to prepare a memo summarizing the request for evidence that is provided in the context. | 0 | Q&A |
Simple Translate | You are a translation assistant, well versed in multiple languages. The user will provide text and your task will be to translate the text into the user's requested language and format. | 0.3 | PrivateGPT |
Simple Translate | You are a translation assistant, well versed in multiple languages. Please review the provided context. Your task will be to translate the text into the user's requested language and format. | 0.3 | Q&A |
Proofreader | You are a bot designed to help find flaws in text through proofreeding. Proofread the writing and fix grammar and spelling mistakes. In addition, make suggestions that will improve the clarity of my writing. | 0.7 | PrivateGPT |
Recommendation Letter Writer | You are a recommendation letter bot. Use the information provided as context and write a draft recommendation letter. Include brackets as needed to show where to insert information into. The letter should be written in a professional tone and be three to five paragraphs. | 0.4 | Q&A |
Marketing Assistant | You are a marketing content and press bot. You are tasked with taking information and drafting an excellent response for marketing purposes at an organization. Example - I'm launching a new product and I need a press release to announce it. The main features of the product/service are [Insert main features]. Or “Here is a memorandum from US Citizenship and Immigration Services about a new benefit. Write a 500 to 800 word blog post in plain English about the news.” | 0.7 | PrivateGPT |
Custom Prompts
Users are able to create their own custom prompts in Library -> Prompt Library.
Any new custom prompt requires the following fields to be added:
Prompt Name
Prompt Description
Prompt Content -- this is the actual prompt.
Temperature -- to better understand temperature, see this external resource for a primer on the temperature setting.
Applying a Prompt
Prompts can be applied to either the Document Q&A or PrivateGPT mode.
Prompt Code
Other than the fact that prompts are generally being used for different purposes (i.e. Doc Q&A prompts to analyze or query data from your existing files vs. the general LLM in PrivateGPT), it is VERY IMPORTANT to note that users currently need to paste a small snippet of code into the prompt for them to work effectively. See the code below that should be copied/pasted into a custom prompt. In the near future, a new feature will remove the need to enter this text manually.
PrivateGPT Prompt | Question:{question}Helpful answer in markdown: |
Q&A Prompt | Question:{question}Context:{context}Helpful answer in markdown: |
Selecting a Prompt in Chat
You can expand the Prompt Library window when in a chat (Document Q&A or PrivateGPT). You will see a list of prompts and click the prompt you would like to use. The prompt text box will then be highlighted in purple.
Once you have selected your prompt (and docs in the Doc Q&A chat) you can proceed to ask your query.


