Varia Law Logo

AI in Your Practice




A Guide to Practical, Performant, and Private Use

By Erich Dylus

Attorney (MD, DC) and programmer. Founder of:



Practical


Performant

Private

Why is everyone obsessed with AI?

Machine learning and other types of AI have been around for decades
“Recent” breakthrough is generative AI: generates new patterns and human-like output

Deterministic, data-driven response → Contextual, data-influenced educated guess



DETERMINISTIC PROBABILISTIC
Same Input == Same Output Same Input != Same Output
Vending machine Restaurant
Calculator Search engine
Python script LLM
Predictable Creative


Generative AI is PROBABILISTIC

Inherently inexact and unpredictable


Then why so effusive about AI?

Vast source of brilliant ideas and suggestions rather than omniscient truth

Collaborative problem-solving, not for blindly trusted automation (needs deterministic software)

Terminology

Practical First Steps



AI as a genius intern:



A genius intern is not going to replace you for years


Low downside and high upside as a tireless assistant



Creativity first, then efficiency


Focus on quality and collaboration; AI output requires human review anyway

Try different products and stay nimble

How do I choose a service/model?



Keep it Simple


"Legal AI" has few advantages without maintenance (in-house data training, custom agents, updates), niche usecases, or proprietary IP (Lexus, Westlaw)

General LLMs are the most powerful knowledge generators in history and continue to rapidly improve

Curated, professionally-vetted datasets are garnering massive investment


The magic is in your prompting abilities


You can create your own "system prompt"

Maintaining data privacy with all AI services, especially free versions, is essential… more on this later



How to Prompt



Role + Task + Instructions + Context



“You are a ___. Write a ___, with ___ and without ___. Review the attached file for context and ask any clarifying questions before responding.”



Invest time in your initial prompt to avoid backtracking



Remember, AI’s output is “probabilistic” — you’ll get different outputs for the same input

Don’t be afraid to repeat multiple times or to multiple models—or ask them to critique each other!

Context can also include your own writing, so the output is tailored to your style



Bonus: XML Tagging

Guide the model and more effectively structure the output:


<role> You are an expert _______. </role>

<task> Create ________. </task>

<instructions>
1. Read the attached context file and this prompt in their entirety, and ask any clarifying questions before responding.
2. ______
3. Ensure any research you perform is cited with links.
</instructions>

<context> Attached is ____, and pasted below is _____. </context>

Prompting Examples



Text analysis:




Form generation:





Negotiations, strategy, issue spotting


Less emphasis on the instructions, more on the role, context, and task


Allow the model to be more creative and flexible, making it more helpful (especially as a mocked counterparty): overly precise instructions can make it predictable and similar to your own thinking


It may feel ridiculous, but try other human situational factors




Prompting Notes




Start strong

If you get a wildly wrong or unexpected output, start over with a better initial prompt rather than trying to fix it and burning context window space



Tell the model to ask you for clarifications

Pre-emptively reduce miscommunication and misdirection



Specify style and audience

If you want to reflect a style or voice in your prompt (such as attaching one of your own writings), tell the model! Audience can dictate formality and level of detail

Don't stress the formatting too much— models strip text into "tokens"


Ask for cites and check them

Reviewing and verifying is a duty that will not disappear; use the tech to help you (“point me to the statute/document”), but you are ultimately responsible



Save useful prompt templates

Specific usecases and "system prompts" for future use, with an organized naming convention.
Have the model write prompts for you!



What about Privacy / Confidentiality / Privilege?



Always assume the worst



Megatech companies with unprecedented compute power; there’s a reason they offer free versions:

They use your data to train their models



With or without model training,

logging (prompts, user info, and metadata) is universal




Legislation, regulatory guidance, and judicial orders can always force their hand:





These models don’t just collect and repeat data—they can extrapolate more information and even codify falsehoods.

Once models have absorbed and trained on data, assume it's impossible to “convince” it to forget or overwrite – this is true even for solely in-house AI models

So what’s the solution? Take privacy into your own hands.

Privacy First



Future-proof and vendor-proof your AI workflow: handle privacy first, locally


Redact/anonymize prompts and context files and wipe metadata before AI host websites, logs, models can access


Even fully local models are not immune to privacy risks - especially if they have internet access


Always risk of ancillary services collecting data and temptation to use personal accounts

Services may not provide advance notice or consent for privacy policy changes.
Human-in-the-loop is essential, as privacy/privilege in legal work is highly subjective and contextual (i.e., cannot be fully automated).


Once data enters a third party AI service, assume it's permanent and discoverable



CamoText Demo


Redact and anonymize sensitive text first, locally, on your own device



Vendor Checklist



"What differentiates your product from using privacy tools and general LLMs?"

What Should I Tell my Clients?



Tell them the truth: you're using AI to improve the work product, without compromising your judgment, ethics, or privacy obligations.

If they’re using AI for legal-ish tasks, remind them of hallucination, limited context, and privacy/privilege issues.





... this is an actual response I received from ChatGPT in 2024.



Suggest honing questions and brainstorming areas of legal concern, or commercial/business/marketing strategy.

Win‑win: efficient intake, and clients appreciate reducing the bill and the empowerment


Share the best practices with them!



Best Practices



Parting Words and Contact Info



An unbelievable amount of intellectual power, with near-instant response time, and reasoning capabilities


You’re not getting replaced by AI—you’re getting superpowered

However, you might get outpaced by others that use AInterns if you don’t!

Also, it’s fun.

Talk to it like an interactive academic course or a podcast, learn something new with an infinitely patient and personalized assistant, have it stylize a presentation website...