ConductScience Sequences
Contents

Installation guide · Optional features

Summary drafts

Name a model for summary drafts, and set each account's access and spending limits.

The same settings let a person ask for a draft of a case's text (Pilot): the case summary, the results summary, a claimed SEQ ID NO's summary or the sentences on a kept publication. Drafts are off until you name a model, as suggestions are. Fixed templates still write each text, and the template's words stay until someone accepts or edits a draft. The model receives only that text's facts, the ones its template reads, each with its source and at most 20,000 characters in all, and, with round-1, is asked for at most 150 words in at most 2,048 answer tokens. A draft is dropped when a span it quotes is not in a source it was given, a number in it is not in the facts (a percent to one decimal place), or it puts some counts together in a way the facts do not, such as "125 of 128 features" when the plan covers 0 of 125. It is also dropped for some words that say more than the facts, such as "requires" in a SEQ ID NO's summary when the claim gives that SEQ ID NO as one of several, "not submitted" in the case summary for a listing the case does not have yet, and, in the sentences on a kept publication, "discloses" for a match the search found or "assigned to" for an applicant. Any draft is also dropped for some legal terms, such as "novel", "anticipated", "valid" or "infringed", and a case summary for "paragraph 2" or "SEQ ID 4", since its facts name no paragraph by number and give each kind's feature count as "SEQ ID (4)". The page then says which check failed and why, and never shows the rest of the draft. A draft is checked once, when it is written.

With BIOSEQUENCE_MODEL_PATHS at round-2, the default, Sequences writes the draft of the case summary, the results summary and the sentences on a kept publication itself, from the same facts, each sentence citing the facts it states, and calls no model. A draft over its kind's length, 140 words for the case summary, 160 for the results summary and 90 for a kept publication's sentences, or failing another check, goes to the model to shorten, and the shorter text is kept only if it passes every check. The model writes a claimed SEQ ID NO's summary, in at most 60 words, and a draft that fails a check goes back to it with the reasons, twice at most. Each call asks for at most 2,048 answer tokens at temperature 0 with seed 42 and reasoning effort low. Besides the checks above, such a draft is dropped for filler words such as "notably", a repeated sentence, a sentence that cites no fact it was given or gives a number its facts do not, or an answer not in the form asked for. A draft Sequences writes alone comes back at once, even while the model answers another request. With round-2, BIOSEQUENCE_SUMMARIES_MODEL can name another model at the same address for the drafts, and BIOSEQUENCE_SUMMARIES_MODEL_PRICES its prices.

Drafts and claim suggestions share the model's address: one call at a time for the whole server, with the same time limit. With round-1, a draft asks for the reasoning effort in BIOSEQUENCE_SUMMARIES_MODEL_REASONING, or the claim suggestions' when that is unset. Nothing drafts by itself; each draft is asked for by a person. The case's log records each call with the model, the prompt's ID and SHA-256, the tokens and the seconds, and each decision, and a report names the model for a summary it drafted.

Accounts and spending limits

With sign-in on, each account turns claim suggestions and summary drafts on for itself, under Account, Language model, and both stay off until it does. The tab says where the text goes: BIOSEQUENCE_CLAIMS_MODEL_PLACE, or else the model's host. A request from an account with the feature off answers 409, and the page says how to turn it on. The local workbench has no accounts and follows the settings alone.

A model you pay for by the token can have limits. Set its prices and either limit, or both:

BIOSEQUENCE_CLAIMS_MODEL_PRICES=0.15,0.60
BIOSEQUENCE_CLAIMS_MODEL_DAY_USD=0.25
BIOSEQUENCE_CLAIMS_MODEL_MONTH_USD=8

The service prices each call from the tokens the model's server reports and adds a line to model-spend/<YYYY-MM>.jsonl in the data folder: when, the SHA-256 of the account's ID, the feature, the model, the tokens and the cost. With round-2, a draft's call names the drafts' model and is priced at BIOSEQUENCE_SUMMARIES_MODEL_PRICES where it is set, and a draft Sequences writes alone makes no call and costs nothing. Each call of a draft counts against the limits, and a limit reached between two calls stops the draft before the next one. A call that reports no tokens, unless it failed with an error status, counts its request at 3 characters a token and its whole answer cap. Once an account's calls reach the day's limit, its next request answers 429 with Retry-After until 00:00 UTC; once all calls reach the month's, every account's do, until the 1st. The page says which limit stopped the model, and rule-based features and template summaries keep working. The service makes one model call at a time, so a limit is passed by one call's cost at most. Without BIOSEQUENCE_CLAIMS_MODEL_PRICES, no call is priced or recorded and no limit applies.

Guide version 1.63.0 · For Sequences 0.155.0