Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 11:19

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 26 Sep 05:28

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 14:47

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@kingfs kingfs released this 24 Sep 09:10

Published images (Docker Hub, chaitin/decis):

  • laya-multilingual (= latest) and laya-multilingual-v0.3.0 — weights baked in
  • kev-0.8b and kev-0.8b-v0.3.0 — weights baked in
  • laya-multilingual-runtime-v0.3.0, kev-0.8b-runtime-v0.3.0 — no weights, volume-mounted model directory
  • playground and playground-v0.3.0

Added

  • DOCKERHUB_NAMESPACE, a repository variable that points the published images at
    another Docker Hub namespace. Without it the workflow publishes to chaitin, which is
    now a fixed part of the workflow rather than something derived from the login
    credential: an organization is not a user account, so DOCKERHUB_USERNAME (the login)
    is not necessarily the namespace the documentation names.

Changed

  • The project moved to the chaitin organization. Every clone URL, badge, issue link,
    image reference and workflow comment now names chaitin/Decis and chaitin/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.py no longer fails against a newer laya: its tokenizer
    double now accepts the truncation and max_length arguments that laya began 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

Choose a tag to compare

@kingfs kingfs released this 23 Sep 12:31

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-multilingual

Every 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, the decis namespace, 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 from src/decis/schema.py by docs/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.md and 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.py and tests/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 into docs/, where each guide can be read on its own.
  • Performance tables moved from the READMEs into
    docs/performance.md and its Chinese twin, still generated by
    benchmarks/report.py from 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 wrong max_options value in the API reference, output_tokens described 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 that config.py silently drops for kev-0.8b.
    tests/test_docs.py now fails if a documented DECIS_* variable is read by nothing, or if a
    documented DECIS_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.json reported 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.