Repository navigation
Releases
v0.4.0
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
v0.3.0
Published images (Docker Hub, chaitin/decis):
laya-multilingual(=latest) andlaya-multilingual-v0.3.0— weights baked inkev-0.8bandkev-0.8b-v0.3.0— weights baked inlaya-multilingual-runtime-v0.3.0,kev-0.8b-runtime-v0.3.0— no weights, volume-mounted model directoryplaygroundandplayground-v0.3.0
Added
DOCKERHUB_NAMESPACE, a repository variable that points the published images at
another Docker Hub namespace. Without it the workflow publishes tochaitin, which is
now a fixed part of the workflow rather than something derived from the login
credential: an organization is not a user account, soDOCKERHUB_USERNAME(the login)
is not necessarily the namespace the documentation names.
Changed
- The project moved to the
chaitinorganization. Every clone URL, badge, issue link,
image reference and workflow comment now nameschaitin/Decisandchaitin/decis. - The deployment guide describes versioned image tags as a scheme
(<engine>-<version>) instead of listing what past releases produced. Those images live
in the namespace the project used before the move, so the list named tags that are not in
chaitin/decis. - The package version is
0.3.0.
Fixed
tests/test_upstream_contract.pyno longer fails against a newerlaya: its tokenizer
double now accepts thetruncationandmax_lengtharguments thatlayabegan passing
to the tokenizer, and honours them the way the upstream truncation does. The declared
range (>=0.3.5,<0.4) is now covered by the guard, not only its lowest bound.
v0.1.0 — the documentation release
Decis speaks the TypeSafe System One API and answers with an open decision model of your choosing — laya-multilingual (the default), laya, laya-typed-decisions, or kev-0.8b. Point the official typesafe-sdk at Decis instead of api.typesafe.ai and nothing else changes.
docker run -p 8000:8000 -e DECIS_API_KEY=change-me kingfs/decis:laya-multilingualEvery engine-tagged image carries its weights, so that container needs no network, no volume and no second service. The first request answers in a quarter of a second; the model load takes about 75 seconds, and /readyz reports loading until it is done.
Added
- API reference (
docs/api.md): every endpoint, all three question
primitives, the response envelope, thedecisnamespace, error codes and limits. - Generated API schemas (
docs/schema/): JSON Schema for the request,
response, model list and error body, plus the server's OpenAPI 3.1 document. They are
generated fromsrc/decis/schema.pybydocs/schema/export.py, and CI fails if a
checked-in file drifts. - User guides, each in English and Simplified Chinese: getting started, configuration,
API, engines, deployment, playground and performance. - Community files:
CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.mdand this
changelog. - Playground navigation and credits: every page links back to the playground and out to
this repository, and the index credits the open-source projects the games are adapted from
and states that the API and inference are Decis's. tests/test_api_schema.pyandtests/test_docs.py, guarding the generated schemas and the
bilingual docs.
Changed
- The README is a landing page. Installation, deployment, configuration, performance and
development details moved intodocs/, where each guide can be read on its own. - Performance tables moved from the READMEs into
docs/performance.mdand its Chinese twin, still generated by
benchmarks/report.pyfrom the checked-in raw JSON. - The package version is
0.1.0.
Fixed
- The user-facing documentation was checked against the code and corrected where it disagreed
with it: a wrongmax_optionsvalue in the API reference,output_tokensdescribed as a
count of answers, a timeout response the server never sends, engine capacities attributed to
decis models(which reports whether an engine can run, not what it accepts), and a
per-engine weight override thatconfig.pysilently drops forkev-0.8b.
tests/test_docs.pynow fails if a documentedDECIS_*variable is read by nothing, or if a
documentedDECIS_MODEL_PATH_*variable does not name a registered engine. - The Tetris page displayed one more placement option than it actually sent; the number shown
now comes from the same constant the request is built from. On narrow viewports the page
also overflowed horizontally between 380px and 430px, which is fixed by a breakpoint. - The exported
openapi.jsonreported the old package version.
Published images
Every engine-tagged image is a multi-arch manifest (amd64 + arm64) with the weights baked
in; sizes are the compressed download size, summed from the registry manifests.
| Tag | Size (amd64 / arm64) |
|---|---|
kingfs/decis:laya-multilingual (= :latest, = :laya-multilingual-v0.1.0) |
4.4 GB / 4.5 GB |
kingfs/decis:kev-0.8b (= :kev-0.8b-v0.1.0) |
6.0 GB / 6.2 GB |
kingfs/decis:playground (= :playground-v0.1.0) |
43.1 MB / 43.4 MB |
kingfs/decis:laya-multilingual-runtime-v0.1.0 |
3.2 GB / 3.3 GB |
kingfs/decis:kev-0.8b-runtime-v0.1.0 |
3.2 GB / 3.3 GB |
The -runtime variants carry no weights: fill a volume with decis download once and mount it.