Classify legal documents without examples
{This is an indemnity.}
.
With IQL, you can use logical operators like AND
, OR
and NOT
to combine multiple statements together as well as parentheses to group statements together.
For example, if you wanted to pull out both confidentiality clauses and indemnities from a contract, you could use the query {This is a confidentiality clause.} OR {This is an indemnity.}
.
IQL also features support for query templates, highly optimized queries that abstract away the need to optimize new idiosyncratic prompts for individual models.
Query templates are invoked using the format {IS <template name>}
. A list of available templates can be found on our templates page.
As an example, the query {This is a confidentiality clause.} OR {This is an indemnity.}
could be replaced with the query {IS confidentiality clause} OR {IS indemnity clause}
to both simplify the query and improve its performance.
We’ve got templates for pulling out warranties, force majeure clauses, caps on liability — even unilateral clauses, clauses that benefit or obligate only a single party, often a key indicator of a contract’s one-sidedness and potential unfairness.
We also have templates that allow you to plug in your own descriptions of what you’re looking for, such as {IS clause called "<clause name>"}
(e.g., {IS clause called "confidentiality"}
) or {IS clause that "<clause description>"}
(e.g., {IS clause that "imposes a duty of confidentiality"}
). These templates are particularly useful for searching for things that are not directly covered by an existing template.
We do not yet have very many templates for non-contractual classifications, however, our models have been trained on an equal mix of contracts, cases and legislation, so you can always write your own queries for anything not covered by an existing template.
We’re working on introducing more templates to cover a wider range of classification problems in the future. You can always reach out to suggest new templates or provide feedback on existing ones.