Python library changelog
Hosted API changes that affect the api backend are in the Hosted API changelog.
New featuresImprovements
0.6.1
A Predefined Answer carries its reply by default
validateandbatch_validate, sync and async, returnsuggested_responseon a Predefined Answer even whenoutput_fieldsleaves it out: a second pass writes it and adds its tokens tousage.resolve_predefined=Falseskips it. Backendsvllm,vllm-apiandhf.serve:validateandbatch-validateacceptresolve_predefined; theapibackend sends it only whenFalse.- See also Hosted API, October 2.
New features
0.6.0
Ask for the class only, with classify
ScopeGuardV2.classify()andbatch_classify(), sync and async, read the class from the first token's probabilities and return it withprobabilities,confidence,temperatureandpredefined_response. All four backends.- On the
apibackend they need a server that serves them:servefrom this version, or the hosted API from October 2. serve: servesclassifyandbatch-classify.vllmbackend:vllm_kwargs, passed tovllm.LLM.
New featuresBug fixes
0.5.0
Choose the output fields; first ScopeGuard-2 checkpoint
output_fieldson the constructors,validate,batch_validateandserve, winning over a disagreeingskip_evidences;reasoningisNonewhen left out (Hosted API, September 21).- Self-hosting runs
scope-guard-v2-4B-q-2609, the first published ScopeGuard-2 checkpoint, on request; a warning flags a checkpoint whose prompt differs. - Fixes: the
apibackend stops sendingskip_evidences: false;vllmandhfreportusageand gaincount_system_prompt_in_usage. - Six runnable examples on GitHub.
New features
0.4.0
ScopeGuard-2, with seven scope classes
ScopeGuardV2,AsyncScopeGuardV2andScopeClassinorbitals.scope_guard_v2: seven classes, adding Predefined Answer and Human Oversight. Output addsreasoningandsuggested_response.AIServiceDescriptionV2andPredefinedResponseinorbitals.types;skip_evidencesandinclude_default_safety_principlesper guard or call.serve:orbitals scope-guard-v2 serve.- Backends
hf,vllm(default),api, asyncvllm-apiandapi. The first checkpoint you can run yourself comes with 0.5.0; the hosted API serves ScopeGuard-2 from July 6.
New features
New features
0.2.1
Run the smaller ClaimExtractor 2B
- Aliases
claim-extractor-4B-qandclaim-extractor-2B-q(-->claim-extractor-2B-q-2605);claim-extractorandclaim-extractor-qstill resolve to the 4B. - Both weights are open on Hugging Face, under Apache-2.0.
New features
0.2.0
Extract checkable claims with ClaimExtractor
ClaimExtractorandAsyncClaimExtractorinorbitals.claim_extractor, withextractandbatch_extract: claims in four subtypes plus intents.- Backends
hf,vllm,api, asyncvllm-apiandapi. serve:orbitals claim-extractor serve, which also extracts a whole conversation.- See also Hosted API, July 6.
Improvements
New features
Improvements
Breaking changes
0.1.7
Requires transformers 5 and vLLM 0.19
Migration
On vllm-api, rename include_system_prompt_in_usage_reporting to count_system_prompt_in_usage, and upgrade transformers together with the library.
- Install floors for the
hfandvllmextras:transformers>=5.5.0,<6.0.0(was>=4.47,<5) andvllm>=0.19.1(was>=0.11.0).
Bug fixesBreaking changes
0.1.6
The self-hosted server validates again
Migration
If you pass include_system_prompt_in_usage to vllm-api, rename it to include_system_prompt_in_usage_reporting, or straight to its name in 0.1.7.
serve:validateworks again (broken since 0.1.4), andbatch-validatereads the AI service descriptions from the body.- A conversation that does not end with a user message raises
ValueError;custom_headersdefaults toNone.
Bug fixes
New featuresBug fixesBreaking changes
0.1.4
Keyword-only arguments after the conversation
Migration
In validate and batch_validate, pass ai_service_description and every later argument by keyword. On vllm-api, expect lower token counts.
apibackend: sendsmodel(defaultscope-guard, per call too); an explicitapi_keywins overX-API-Keyincustom_headers, withPRINCIPLED_API_KEYas the fallback; the async client calls the right path.vllm-api: per-callmodelandchat_templating_tokenizer;usageleaves out the system prompt unlessinclude_system_prompt_in_usage=True.
Bug fixesImprovements
Improvements
New features
0.1.1
ScopeGuard-1, the first orbital
- First release, under Apache-2.0: ScopeGuard-1 (five classes) with backends
hf(default),vllm,api, asyncvllm-apiandapi. serve:orbitals scope-guard serve.- Open weights on Hugging Face, named in the ScopeGuard-1 FAQ.