a brief, 14 citationscourt registersby docket and citation13 found, each with its opinion1 not found: a lawyer looks nowfound before filing, not by the court
The run in 4 steps
Read the courts from the catalog
A docket number means nothing without its court. The catalog of datasources lists, for each legal datasource, the courts whose dockets it can look up, each with a code. Your agent reads the codes from there and does not guess one.Look up every citation in one call
Each citation is one search by identifier, with no words at all. A batch runs 20 of them. This request looks up 3 citations of a brief, each by the kind of code it has, and fetches the opinion that is found.Request body of search_batch, cut to 3 of 14 items
REPORTER_CITATION, DOCKET_NUMBER, and ECLI_CODE with the codes as the brief cites them. The labels are the footnotes of the brief, so each result finds its way back to its place.
With deterministic_only set to true, no model ranks anything. A code is in a register or it is not.
Read which citations were not found
The response starts with a tally. Each search that found the case has one result, which says which of your codes it matches, and a record of the opinion. A search that found nothing has the outcome reasonnone.
A citation with none goes to a lawyer at once. It is not proof that the case does not exist: it says that the datasources named in the response do not have it. That moment is the right one to find out, and the brief says so before a judge does.
Match every quotation
For each case that was found, send the quotations that the brief attributes to it against the record of the opinion.Request body of highlight_contents
exact, with its place in the opinion. It comes back as near if it differs only in upper and lower case, in the punctuation at the ends of words, or by an ellipsis. A quotation with the notice highlight_not_found is not in that opinion as written. This check uses no model and costs nothing.
A string is matched inside one block, which is one paragraph of the opinion. Send a quotation that runs over 2 paragraphs as 2 strings.