ConductScience Sequences
Contents

Installation guide · Run the service

Language model settings

The settings that name a language model and limit what its calls cost.

Language model

SettingDefault in the imageWhat it does
BIOSEQUENCE_CLAIMS_MODEL_URLnoneThe address a case's claims go to when someone asks a language model for features the rules missed, and a text's facts when it writes or shortens a draft (Pilot), with the whole path, such as http://127.0.0.1:8000/v1/chat/completions. Unset, suggestions are off. See Claim suggestions from a model and Network traffic
BIOSEQUENCE_CLAIMS_MODEL_APIsequencesThe format of the call. openai-chat posts a chat completions call, the format vLLM, llama.cpp's server and Ollama take: the instructions as the system message and the claims as JSON in the user message, at temperature 0, asking for JSON back. sequences posts the service's own JSON request and reads a JSON answer, for a service of your own in front of a model; for that format, write to support@conductscience.com
BIOSEQUENCE_CLAIMS_MODELnoneThe model name the service puts in each request, up to 200 characters. Needed with the address
BIOSEQUENCE_MODEL_PATHSround-2How the service asks the model. round-2 asks for a case's claim suggestions in one call, with the spans fixed rules flag in each claim, and writes most summary drafts from the facts itself, asking the model only to shorten one that runs long or fails a check, or to write a claimed SEQ ID NO's summary. round-1 asks as releases before 0.145.0 did. Any other value stops the service at start. See Claim suggestions from a model
BIOSEQUENCE_SUMMARIES_MODELthe model aboveWith round-2, the model name for summary drafts, at the same address, up to 200 characters
BIOSEQUENCE_CLAIMS_MODEL_HOSTSnoneHost names the address may use besides 127.0.0.1 and localhost, separated by commas. Such a host must use https://
BIOSEQUENCE_CLAIMS_MODEL_KEYnoneA key the service sends to the model as Authorization: Bearer, if the model needs one. It is never written to the log or to a case
BIOSEQUENCE_CLAIMS_MODEL_SECONDS900 with openai-chat, 120 otherwiseHow long the service waits for the model, 5 to 3,600 seconds. A model on processors alone can take minutes for one case
BIOSEQUENCE_CLAIMS_MODEL_REASONINGnoneWith openai-chat, the reasoning effort the call asks of the model: low, medium or high. Unset, the call names none and the model uses its own. Any other value, or another format, stops the service at start. Used only with round-1: round-2 asks with its own settings
BIOSEQUENCE_SUMMARIES_MODEL_REASONINGthe effort aboveWith openai-chat, the reasoning effort for summary drafts alone: low, medium or high. Used only with round-1
BIOSEQUENCE_CLAIMS_MODEL_JSON_MODEonoff stops the call asking for JSON mode, for a model server whose JSON mode spoils its answers. The instructions still ask for JSON. Only with openai-chat and round-1: round-2 never asks for JSON mode
BIOSEQUENCE_CLAIMS_MODEL_PRICESnoneWhat the model costs in US dollars: a million prompt tokens, then a million answer tokens, such as 0.15,0.60. The spending limits need it. See Accounts and spending limits
BIOSEQUENCE_SUMMARIES_MODEL_PRICESthe prices aboveWith round-2, what the summary drafts' model costs, in the same form, such as 0.07,0.30. Set it only with BIOSEQUENCE_CLAIMS_MODEL_PRICES
BIOSEQUENCE_CLAIMS_MODEL_DAY_USDnoneThe most each account's model calls may cost in a UTC day, in US dollars, above 0 and up to 10,000, such as 0.25. At it, the account's calls wait until 00:00 UTC
BIOSEQUENCE_CLAIMS_MODEL_MONTH_USDnoneThe most all model calls may cost in a UTC month, in US dollars, above 0 and up to 10,000, such as 8. At it, the model is off for every account until the 1st
BIOSEQUENCE_CLAIMS_MODEL_PLACEthe model's host, or "a model on this server"Where the text goes, up to 120 characters, as the account's Language model tab names it, such as Amazon Bedrock (AWS, us-east-1)

Guide version 1.63.0 · For Sequences 0.155.0