seldon-runtime 0.1.1.dev1__py3-none-any.whl → 0.1.1.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- seldon_runtime/__init__.py +1 -1
- seldon_runtime/artifact.py +4 -4
- seldon_runtime/data/o200k_base.tiktoken +199998 -0
- seldon_runtime/data/provenance.json +11 -0
- seldon_runtime/output_budget.py +2 -2
- seldon_runtime/semantic.py +4 -4
- seldon_runtime/tokenizer.py +60 -0
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/METADATA +29 -10
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/RECORD +14 -10
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/licenses/NOTICE +4 -0
- seldon_runtime-0.1.1.dev2.dist-info/licenses/THIRD_PARTY_NOTICES.md +66 -0
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/WHEEL +0 -0
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/licenses/LICENSE +0 -0
- {seldon_runtime-0.1.1.dev1.dist-info → seldon_runtime-0.1.1.dev2.dist-info}/top_level.txt +0 -0
seldon_runtime/__init__.py
CHANGED
seldon_runtime/artifact.py
CHANGED
|
@@ -25,7 +25,7 @@ from .program_validation import validate_program
|
|
|
25
25
|
from .provider_error import ProviderError
|
|
26
26
|
|
|
27
27
|
MAX_ARTIFACT_BYTES = 2 * 1024 * 1024
|
|
28
|
-
RUNTIME_VERSION = "0.1.1.
|
|
28
|
+
RUNTIME_VERSION = "0.1.1.dev2"
|
|
29
29
|
_SHA256 = r"^[0-9a-f]{64}$"
|
|
30
30
|
Capability = Literal["chat", "structured_output", "tools"]
|
|
31
31
|
OptimizerContract = Literal[
|
|
@@ -69,9 +69,9 @@ class Evidence(_Data):
|
|
|
69
69
|
class ArtifactManifest(_Data):
|
|
70
70
|
version: Literal["compiler-artifact-v1"]
|
|
71
71
|
compiler_version: str = Field(min_length=1, max_length=64, pattern=r"^[a-zA-Z0-9.+_-]+$")
|
|
72
|
-
#
|
|
73
|
-
#
|
|
74
|
-
runtime_version: Literal["0.1.1.dev1"]
|
|
72
|
+
# Explicit reviewed reader compatibility, never a version-prefix/range guess.
|
|
73
|
+
# dev2 changes asset delivery only; dev1's token and plan semantics are frozen.
|
|
74
|
+
runtime_version: Literal["0.1.1.dev1", "0.1.1.dev2"]
|
|
75
75
|
optimizer_contract_version: OptimizerContract
|
|
76
76
|
instruction_envelope: Literal["instruction-envelope-v1"] | None
|
|
77
77
|
conditional: bool = Field(strict=True)
|