Installation guide · Run the service
Language model settings
The settings that name a language model and limit what its calls cost.
Language model
| Setting | Default in the image | What it does |
|---|---|---|
BIOSEQUENCE_CLAIMS_MODEL_URL | none | The 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_API | sequences | The 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_MODEL | none | The model name the service puts in each request, up to 200 characters. Needed with the address |
BIOSEQUENCE_MODEL_PATHS | round-2 | How 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_MODEL | the model above | With round-2, the model name for summary drafts, at the same address, up to 200 characters |
BIOSEQUENCE_CLAIMS_MODEL_HOSTS | none | Host names the address may use besides 127.0.0.1 and localhost, separated by commas. Such a host must use https:// |
BIOSEQUENCE_CLAIMS_MODEL_KEY | none | A 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_SECONDS | 900 with openai-chat, 120 otherwise | How 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_REASONING | none | With 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_REASONING | the effort above | With openai-chat, the reasoning effort for summary drafts alone: low, medium or high. Used only with round-1 |
BIOSEQUENCE_CLAIMS_MODEL_JSON_MODE | on | off 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_PRICES | none | What 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_PRICES | the prices above | With 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_USD | none | The 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_USD | none | The 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_PLACE | the 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