Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

docs(examples): demonstrate OpenAI Decisions SDK compatibility

svonava57eafe6f1bff
diff --git a/examples/decisions-local/README.md b/examples/decisions-local/README.md
new file mode 100644
index 000000000..9b4b135e5
--- /dev/null
+++ b/examples/decisions-local/README.md
@@ -0,0 +1,78 @@
+# OpenAI Decisions with SIE
+
+SIE exposes `POST /v1/decisions` for its typed decision models, alongside
+the TypeSafe-compatible `POST /v1/systemone` route. The OpenAI Python SDK
+can call SIE by changing the base URL and model. This example pins SDK
+3.26.0, which includes `client.decisions.create`.
+
+Start a local model from the repository root:
+
+```bash
+mise run serve -- --models fastino/GLiNER2.5-Decide --host 127.0.0.1 --port 8080 --device cpu
+```
+
+Startup resolves the adapter dependencies. The first request downloads and
+loads the pinned public checkpoint. Wait for `http://127.0.0.1:8080/readyz`,
+then run:
+
+```bash
+mise exec -- uv run --frozen --project examples/decisions-local examples/decisions-local/decide.py
+```
+
+`conformance.py` checks all three answer types, question ordering, typed
+choice values, text messages, the async client, and SDK error classes for
+unknown models, unsupported inputs, and overflow. It allows up to five
+minutes for a cold model to load; a ready worker can still return
+`503 MODEL_LOADING` until the model is resident:
+
+```bash
+mise exec -- uv run --frozen --project examples/decisions-local examples/decisions-local/conformance.py
+```
+
+For an authenticated gateway, set `SIE_OPENAI_BASE_URL` to its URL with a
+`/v1` suffix and `SIE_API_KEY` to your key. `SIE_DECISION_MODEL` selects a
+different SIE decision model. This uses SIE inference and requires no
+OpenAI account or OpenAI API key.
+
+## Supported contract
+
+- Text input or ordered text messages with user, developer, system, or
+ assistant roles. Text content parts and assistant refusals are accepted.
+- Ordered predicate, choice, and score questions. Answer order matches
+ question order, including unnamed questions and repeated names.
+- Choice values are strings or booleans; `true` and `"true"` remain distinct.
+- Score answers include the probability of each ordered level and the
+ expected zero-based level index.
+- OpenAI error envelopes and retry headers, including a `400` error when
+ a request exceeds a model's input window. SIE refuses overflow rather
+ than silently truncating it.
+
+The endpoint accepts up to 200 questions and 255 choices, but each model's
+smaller prompt and task limits still apply. Scores support 1 to 10 levels.
+For GLiNER2.5-Decide, all questions and input share a 512-token row, with
+at most half available to question prompts; keep requests short or use a
+larger decision model. See [System One model limits](../systemone-local/README.md#limits).
+
+Images, audio, tool-call inputs, cache controls, and unknown request fields
+return explicit errors. `safety_identifier` is accepted for client
+compatibility but does not change model inference. SIE model IDs replace
+OpenAI model IDs, and the probabilities and confidence values come from
+the selected SIE model. This is API compatibility, not model equivalence.
+
+Usage includes the OpenAI token-detail fields. Decision inference produces
+no generated output tokens or cache/reasoning tokens. The direct Python
+server reports native input usage; the gateway currently reports zero
+input tokens because its extract response does not carry that measurement.
+
+For the other SDK format, see the [TypeSafe example](../systemone-local/README.md).
+The native SIE API remains available through `sie_sdk.SIEClient`.
+
+## Verified run
+
+On 2026-10-16, all 12 conformance checks passed with OpenAI SDK 3.26.0
+against a local CPU server running the pinned `fastino/GLiNER2.5-Decide`
+checkpoint in float32. The same server passed all 15 checks in the TypeSafe
+SDK example. These checks verify the API contract and error handling, not
+the model's classification accuracy.
+
+The supported fields follow the [OpenAI Decisions API reference](https://developers.openai.com/api/reference/resources/decisions/methods/create).
diff --git a/examples/decisions-local/conformance.py b/examples/decisions-local/conformance.py
new file mode 100644
index 000000000..ee4b34619
--- /dev/null
+++ b/examples/decisions-local/conformance.py
@@ -0,0 +1,182 @@
+"""Exercise the official OpenAI SDK against a running SIE decision model."""
+
+from __future__ import annotations
+
+import argparse
+import asyncio
+import json
+import math
+import os
+import time
+from collections.abc import Callable
+from pathlib import Path
+
+import openai
+from openai import APIStatusError, AsyncOpenAI, BadRequestError, NotFoundError, OpenAI
+from openai.types.decision import Decision
+
+TEXT = "Please refund the duplicate charge today."
+PREDICATE = {"type": "predicate", "instructions": "Does the customer request a refund?"}
+CHOICE = {
+ "type": "choice",
+ "instructions": "Which team should handle this?",
+ "choices": [{"value": "billing"}, {"value": "technical"}],
+}
+SCORE = {
+ "type": "score",
+ "instructions": "How urgent is the request?",
+ "levels": [{"label": "can wait"}, {"label": "today"}],
+}
+
+
+def check_response(response: Decision, kinds: list[str]) -> None:
+ # The SDK normally constructs responses without strict schema validation.
+ # Validate again so missing required fields cannot pass unnoticed.
+ response = Decision.model_validate(response.model_dump())
+ assert [answer.type for answer in response.answers] == kinds
+ for answer in response.answers:
+ if answer.type == "predicate":
+ assert math.isfinite(answer.probability) and 0 <= answer.probability <= 1
+ elif answer.type in ("choice", "score"):
+ assert 0 <= answer.confidence <= 1
+ probabilities = [entry.probability for entry in answer.probabilities]
+ assert all(math.isfinite(p) and 0 <= p <= 1 for p in probabilities)
+ assert math.isclose(sum(probabilities), 1, abs_tol=1e-4)
+ if answer.type == "score":
+ assert math.isclose(answer.score, sum(i * p for i, p in enumerate(probabilities)), abs_tol=1e-6)
+ usage = response.usage
+ assert usage.input_tokens >= 0
+ assert usage.total_tokens == usage.input_tokens
+ assert usage.output_tokens == usage.output_tokens_details.reasoning_tokens == 0
+ assert usage.input_tokens_details.cached_tokens == usage.input_tokens_details.cache_write_tokens == 0
+
+
+def run() -> list[dict[str, str]]:
+ model = os.environ.get("SIE_DECISION_MODEL", "fastino/GLiNER2.5-Decide")
+ base_url = os.environ.get("SIE_OPENAI_BASE_URL", "http://127.0.0.1:8080/v1")
+ api_key = os.environ.get("SIE_API_KEY", "local")
+ results: list[dict[str, str]] = []
+
+ def record(name: str, check: Callable[[], None]) -> None:
+ try:
+ check()
+ except Exception as exc:
+ results.append({"name": name, "status": "fail", "detail": f"{type(exc).__name__}: {exc}"})
+ else:
+ results.append({"name": name, "status": "pass"})
+
+ with OpenAI(base_url=base_url, api_key=api_key, max_retries=0, timeout=60) as client:
+
+ def warmup() -> None:
+ deadline = time.monotonic() + 300
+ while True:
+ try:
+ response = client.decisions.create(model=model, input=TEXT, questions=[PREDICATE])
+ except APIStatusError as exc:
+ if (
+ exc.status_code != 503
+ or not isinstance(exc.body, dict)
+ or exc.body.get("code") != "MODEL_LOADING"
+ or time.monotonic() >= deadline
+ ):
+ raise
+ time.sleep(5)
+ else:
+ check_response(response, ["predicate"])
+ return
+
+ record("warmup", warmup)
+ if results[-1]["status"] != "pass":
+ return results
+
+ for question in (PREDICATE, CHOICE, SCORE):
+ record(
+ question["type"],
+ lambda question=question: check_response(
+ client.decisions.create(model=model, input=TEXT, questions=[question]), [question["type"]]
+ ),
+ )
+
+ def ordered() -> None:
+ response = client.decisions.create(
+ model=model,
+ input=TEXT,
+ questions=[PREDICATE, dict(CHOICE, name="same"), dict(SCORE, name="same")],
+ )
+ check_response(response, ["predicate", "choice", "score"])
+ assert [answer.name for answer in response.answers] == [None, "same", "same"]
+
+ record("ordered_unnamed_and_repeated_names", ordered)
+
+ def typed_choice() -> None:
+ response = client.decisions.create(
+ model=model,
+ input="true",
+ questions=[dict(CHOICE, choices=[{"value": True}, {"value": "true"}])],
+ )
+ check_response(response, ["choice"])
+ answer = response.answers[0]
+ assert answer.type == "choice"
+ assert type(answer.probabilities[0].value) is bool
+ assert type(answer.probabilities[1].value) is str
+
+ record("typed_choice_values", typed_choice)
+ record(
+ "text_messages",
+ lambda: check_response(
+ client.decisions.create(
+ model=model,
+ input=[{"role": "user", "content": [{"type": "input_text", "text": TEXT}]}],
+ questions=[PREDICATE],
+ ),
+ ["predicate"],
+ ),
+ )
+
+ def rejected(name: str, request: dict, expected: type[Exception], status: int) -> None:
+ def check() -> None:
+ try:
+ client.decisions.create(**{"model": model, "input": TEXT, "questions": [PREDICATE], **request})
+ except expected as exc:
+ assert exc.status_code == status
+ assert isinstance(exc.body, dict) and isinstance(exc.body["message"], str)
+ else:
+ raise AssertionError("request unexpectedly succeeded")
+
+ record(name, check)
+
+ rejected("unknown_model", {"model": "acme/no-such-decision-model"}, NotFoundError, 404)
+ rejected("unsupported_field", {"extra_body": {"temperature": 0}}, BadRequestError, 400)
+ rejected(
+ "unsupported_image",
+ {"input": [{"role": "user", "content": [{"type": "input_image", "image_url": "https://example.com/x"}]}]},
+ BadRequestError,
+ 400,
+ )
+ rejected("input_overflow", {"input": "word " * 10000}, BadRequestError, 400)
+
+ async def async_check() -> None:
+ async with AsyncOpenAI(base_url=base_url, api_key=api_key, max_retries=0, timeout=60) as client:
+ response = await client.decisions.create(model=model, input=TEXT, questions=[PREDICATE])
+ check_response(response, ["predicate"])
+
+ record("async_client", lambda: asyncio.run(async_check()))
+ return results
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument("--json", type=Path, help="Write the results to this file")
+ args = parser.parse_args()
+ results = run()
+ report = {"openai_sdk": openai.__version__, "cases": results}
+ rendered = json.dumps(report, indent=2)
+ print(rendered)
+ if args.json:
+ args.json.write_text(rendered + "\n")
+ if any(case["status"] != "pass" for case in results):
+ raise SystemExit(1)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/decisions-local/decide.py b/examples/decisions-local/decide.py
new file mode 100644
index 000000000..88016b12b
--- /dev/null
+++ b/examples/decisions-local/decide.py
@@ -0,0 +1,38 @@
+"""Use the OpenAI Decisions client against a running SIE server."""
+
+from __future__ import annotations
+
+import os
+
+from openai import OpenAI
+
+
+def main() -> None:
+ with OpenAI(
+ base_url=os.environ.get("SIE_OPENAI_BASE_URL", "http://127.0.0.1:8080/v1"),
+ api_key=os.environ.get("SIE_API_KEY", "local"),
+ ) as client:
+ result = client.decisions.create(
+ model=os.environ.get("SIE_DECISION_MODEL", "fastino/GLiNER2.5-Decide"),
+ input="I was charged twice. Please refund one charge today.",
+ questions=[
+ {"type": "predicate", "name": "refund", "instructions": "Does the customer request a refund?"},
+ {
+ "type": "choice",
+ "name": "team",
+ "instructions": "Which team should handle this?",
+ "choices": [{"value": "billing"}, {"value": "technical"}],
+ },
+ {
+ "type": "score",
+ "name": "urgency",
+ "instructions": "How urgent is the request?",
+ "levels": [{"label": "can wait"}, {"label": "today"}],
+ },
+ ],
+ )
+ print(result.model_dump_json(indent=2))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/examples/decisions-local/pyproject.toml b/examples/decisions-local/pyproject.toml
new file mode 100644
index 000000000..204c39532
--- /dev/null
+++ b/examples/decisions-local/pyproject.toml
@@ -0,0 +1,13 @@
+[project]
+name = "superlinked-sie-decisions-local-example"
+version = "0.1.0"
+description = "Use the OpenAI Decisions SDK with SIE decision models"
+requires-python = ">=3.12,<3.13"
+dependencies = ["openai==3.26.0"]
+
+[tool.uv]
+package = false
+
+[tool.ruff]
+line-length = 120
+target-version = "py312"
diff --git a/examples/decisions-local/uv.lock b/examples/decisions-local/uv.lock
new file mode 100644
index 000000000..fabb22cbf
--- /dev/null
+++ b/examples/decisions-local/uv.lock
@@ -0,0 +1,211 @@
+version = 1
+requires-python = "==3.12.*"
+
+[[package]]
+name = "annotated-types"
+version = "0.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427 },
+]
+
+[[package]]
+name = "anyio"
+version = "4.15.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079 },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
+]
+
+[[package]]
+name = "httpcore2"
+version = "2.13.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "h11" },
+ { name = "truststore" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/cb/f3/1db7aa2bc2524062192bb0e0323969492d1883152a232fe36eea65f4e35c/httpcore2-2.13.1.tar.gz", hash = "sha256:e0aa977abe17e69a3b820a24542a6fa88702676d83880b8d194dcd18408e5103", size = 68071 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/09/ba/a4568248771ce81957bfb7cc600264a40fbcda092391ee1c415c50be4bea/httpcore2-2.13.1-py3-none-any.whl", hash = "sha256:e1e05d4f25f7d7d496bfb96748f6f4b67657b03da069b3a68c36069f3db73d0a", size = 83423 },
+]
+
+[[package]]
+name = "httpx2"
+version = "2.13.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio", marker = "sys_platform != 'emscripten'" },
+ { name = "httpcore2", marker = "sys_platform != 'emscripten'" },
+ { name = "httpx2-jsfetch", marker = "sys_platform == 'emscripten'" },
+ { name = "idna" },
+ { name = "truststore", marker = "sys_platform != 'emscripten'" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d5/44/474bef2a0e9d90f1715d32cb98b0738695ca17ba324095fb2497ed7fbd59/httpx2-2.13.1.tar.gz", hash = "sha256:e48744a19e3af5ee48313d0ce5fe941d5422fae5705ea922a4aabf94d7800dfa", size = 100405 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d8/9c/6fe8931fd9f381042a9e4c7d5a7b4cbf7016b252bec0c99a49fce42c3326/httpx2-2.13.1-py3-none-any.whl", hash = "sha256:6dff50fabc270ee5fd25d845d0b078ed20564579744d6d962850975996d2f9a4", size = 95597 },
+]
+
+[[package]]
+name = "httpx2-jsfetch"
+version = "1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/c4/0e5636363151a2a1795e0a77617168b9ca438e1748ec05fc9b5687f93d64/httpx2_jsfetch-1.0.tar.gz", hash = "sha256:70a0e3eabfef7cce5ad9c629f7d01ca05e418f586646f4ddf14782e4c1454c60", size = 6872 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/43/832f631d32e4f1211caa2ba368317739fe71f0b8530e4c9d15dc454bac2a/httpx2_jsfetch-1.0-py3-none-any.whl", hash = "sha256:cb916b707601e69a07721aabc8f3f6659be3a6893bc1ff5c6f9e02241df2da32", size = 6382 },
+]
+
+[[package]]
+name = "idna"
+version = "3.20"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583 },
+]
+
+[[package]]
+name = "jiter"
+version = "0.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9c/1f/8176d92e001f86505424b41664032ae26a882bc9ca41a32c803f373f9195/jiter-0.17.0.tar.gz", hash = "sha256:03e432f226a453851079fb84cd17c6da9991eab723e28d716f14ae3d906e0c12", size = 229037 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/aa/f8/07bd8c3a23f7a8a6875e6a820bbffe1483a18f18f9398a91b5495123176e/jiter-0.17.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:ebf918dfd6a74adc1b9ad71f63c4ab00902fcd3b7fd39f2e24d871db8d713b91", size = 291633 },
+ { url = "https://files.pythonhosted.org/packages/0e/5e/0de4c6f84ffefa6809ffc2d550b9a314365acf7e7ec9b6c7375d49047900/jiter-0.17.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:61aed66ee042b3b49ef85fdf75714234d055d89d8496ac1c6e47f89e7a30d5e4", size = 321695 },
+ { url = "https://files.pythonhosted.org/packages/20/ac/befe2e82065bee37a0252081666ed2f48c1ac5f5c6c318c2de8168ba393d/jiter-0.17.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76eb4a5c20e86f9f848286f167024890f2862258a965d254774deb7fc1545ca1", size = 341967 },
+ { url = "https://files.pythonhosted.org/packages/9f/cd/9797c1e529746750ae589da7c1a8c24373f00d88e11a989f9e5eb1959079/jiter-0.17.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bcc064f99183a9cbe7f26ed648c352031a74145cd61ed75d34632c73eb46a5a8", size = 326546 },
+ { url = "https://files.pythonhosted.org/packages/d9/fd/e6914c38d6347bab4ebff2b1f0c0f191db276e7a1d5c376176757da42fe3/jiter-0.17.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:73b64e69c4150748e020356d958af94bec33c70a0a93d665cfa8f6d580fe1a63", size = 340995 },
+ { url = "https://files.pythonhosted.org/packages/9d/7d/611b3abf6f88945b5474da5cdc6d1a185e805ac9bf446bb7766dcda6ea87/jiter-0.17.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f0bc7f684b65bcda9c20434267577db71bf9905ceddd32b60d1d93278d8c8d3a", size = 352188 },
+ { url = "https://files.pythonhosted.org/packages/52/f8/b6e513ecbdf3b3cebe587c2279281ecf775b729a58cf4cc7bdf898ded029/jiter-0.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c21265b251d99bbb40080d178a8953e35601d3a1564e05c4de4c0d2ca616797", size = 345025 },
+ { url = "https://files.pythonhosted.org/packages/28/a8/fe26d06c5a6c5a4cfe703c5154c8a140da1305671eb3681aba9422d4f393/jiter-0.17.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:f3d7f7b34114f7ddc6d72a8e882d49de636b35d9fd12b4d420d3c5729f6c9812", size = 329180 },
+ { url = "https://files.pythonhosted.org/packages/e1/58/e6d66a26af40a20e62486feb7e222fd50f6e7aaa4f107abd89675dcc835b/jiter-0.17.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5078ab00664307fab2019b522a93aeb191122789f085daf5fd9e362154021d4a", size = 335805 },
+ { url = "https://files.pythonhosted.org/packages/ef/3e/96520aa2fef5ef831d95483a902140bfab83dcac9eaa74f7df61b5e50a1b/jiter-0.17.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:470e1b1e4c42f1ead2189166a299691871a2df5056c976e7fb96feafaf5f9d44", size = 484121 },
+ { url = "https://files.pythonhosted.org/packages/6a/8f/5d9d92fe538bf36ff481a2278c48147e59c1cf8eb2f7be665260665febe5/jiter-0.17.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:6eb6aedeb7352b8f3b6af9cbd67983840165c00428e63f1b420a85885128ea31", size = 521310 },
+ { url = "https://files.pythonhosted.org/packages/50/06/a09f979b22e652afbc3de66c709b2ba92edcef555f7535ab937c86b4f21a/jiter-0.17.0-cp312-cp312-win32.whl", hash = "sha256:362bb47423886d45a9f705d2d9d4008c6eedd4e41eb1bab4e96fb6daa06b33fd", size = 185029 },
+ { url = "https://files.pythonhosted.org/packages/6c/d9/98265a005b2473ec2be5a84e2b64c2f65382c673879f1574845cd4bcd77c/jiter-0.17.0-cp312-cp312-win_amd64.whl", hash = "sha256:9bd3caac219df476dd0cc3fe01d2f1581ed588906feac767abd9614c1c12f8b3", size = 227381 },
+ { url = "https://files.pythonhosted.org/packages/a8/11/2e05bf5a56e57a543ebb8f585074adf09383e99d7b062dac92eab1f4d57f/jiter-0.17.0-cp312-cp312-win_arm64.whl", hash = "sha256:36ee6e69027396664e59995b9a635a947a5304ee9837279584a0bb8145c8f6b8", size = 183610 },
+]
+
+[[package]]
+name = "openai"
+version = "3.26.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "httpx2" },
+ { name = "jiter" },
+ { name = "pydantic" },
+ { name = "sniffio" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b4/07/cd478a4595282ac72e31090531bb37f8a1b6fd9cb45c1da6d6215078a4d9/openai-3.26.0.tar.gz", hash = "sha256:73b470c09cf2171dce930e36af01c6632241adda0120ad84302ad229f9130a5a", size = 1820994 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fd/37/08c6d71d542b079364221fcbaee863ead900b53cd89db17f4bd0ec83f41a/openai-3.26.0-py3-none-any.whl", hash = "sha256:050597ff71ff4025177405a41fa4019d4f9feae5826645b63b8e35b6e9a3c88b", size = 2164504 },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.14.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/7c/0b/8e10b2e693af8ec54346a14caf36221334775975a747c9ceaa3f8371d96d/pydantic-2.14.1.tar.gz", hash = "sha256:94f478203dd03404682a1ada216965651dd74b1d2d5ffd62e00e0837caab5c26", size = 900362 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/35/ea/a56b9fe5066f3537b7882f77e9c5dfb26d8c2eefdaed9b5fc73d57b4dc22/pydantic-2.14.1-py3-none-any.whl", hash = "sha256:9195d967ec791692a04438115466764fb8b9a27b31f14a760437694f40d6b454", size = 488106 },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.50.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a6/24/af4ec4be49fbc810f35b0bdcacc3d433b56bbfa469fd3bfd4ae116cd9bf1/pydantic_core-2.50.1.tar.gz", hash = "sha256:e50d7b94baac6c7d09927fa5ca5800a0c7ee5015c7fcff65beb3a1931b5a6e09", size = 513515 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ee/94/101b49a6c63f99586755690696eae14532772587d9e39e93f7b8d28a49da/pydantic_core-2.50.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:704075d10b74f2f3c6e15407c696d88701df35fc8953f434a431add0d0074db0", size = 2222428 },
+ { url = "https://files.pythonhosted.org/packages/db/a3/f8b1b39349c33037c73d7a1b794c9c29d8f07d5bd2b74399c1375a529cc6/pydantic_core-2.50.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e8e1d6ce820aa23317e8209a86bd65a540973c12dc7552b48a4f6c8e9926815e", size = 2025779 },
+ { url = "https://files.pythonhosted.org/packages/d2/2d/862a7d115305cc621358e51ba13f296e0ffdf4fbd984be9f63bc7862730b/pydantic_core-2.50.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c18db21573bd2c6489f9a544b7499f0df2853958c568e5e783536ee1f690af41", size = 2048429 },
+ { url = "https://files.pythonhosted.org/packages/c0/7d/fed95d18bf2b5abe2d5ab2bbec4184bfc22b6805994a33ccdae8edffd25a/pydantic_core-2.50.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cb57f304525a5e3c13333b772bf9a473f36326e9c821b2e8e1b2fd36f80ae2c3", size = 2173274 },
+ { url = "https://files.pythonhosted.org/packages/93/1e/c6f22ceac65dc3d291ff79bea0eb74cbd1de8b128f01fee48af03bcea1e1/pydantic_core-2.50.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a27c09d86600f1bf2fe3f37e1ae697faf3143931c09322cd799da94deee923b5", size = 2360403 },
+ { url = "https://files.pythonhosted.org/packages/2c/97/190b5b6bfe4c72f265feb657913eb30749193927a5ad7b83cfa7866a25a2/pydantic_core-2.50.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:46b3301d3b5c886f77de7546e47274a5842c622ea2020b8c6524c6b66913b4a6", size = 2439799 },
+ { url = "https://files.pythonhosted.org/packages/90/24/48cd98388e4ac2c08d0800af36d15413db15e20387f1038123a2c86cb2f6/pydantic_core-2.50.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:93ba4e9d8210d941c200431a56b2c0400b131865947903937ed3ec5404307d2e", size = 2160157 },
+ { url = "https://files.pythonhosted.org/packages/00/86/d909133d0b9979ed14c20f110f21124a0e346caf071bd66ac5af3009062b/pydantic_core-2.50.1-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:e5faeaee74a57d32b3ab3aebad2e348f06d3ba946fc5d28c1728455f00a3d13a", size = 2229523 },
+ { url = "https://files.pythonhosted.org/packages/90/31/4b43f08131b2098e73a852fd932063385f3103b33839fd9d1abdb89e673d/pydantic_core-2.50.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a3cda0e538208e5d722bbf3698b24f19c0a7d05bc8d5f8a7f9b121ea7fa243d9", size = 2242700 },
+ { url = "https://files.pythonhosted.org/packages/88/77/de39658569dc7a4c293d110a89629f61145e7538f00d1e4280c28debefd3/pydantic_core-2.50.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:57f51b31ff826e2859120cf4737c5a758a48d96f3e97da40ccee1796d58078ff", size = 2278452 },
+ { url = "https://files.pythonhosted.org/packages/46/bd/1eeb9e4e791e81210ef9096f58080b32ba15b5b13c108d50aaa3f8ce9f73/pydantic_core-2.50.1-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8daa7ee75245d43ad7d747e5c9ecc1b1d06552f72b14887e9276f787d57375f4", size = 2450098 },
+ { url = "https://files.pythonhosted.org/packages/1c/e6/b2accfdff17e5a88d6358536702146de00f9339adaa4d5bbe1ee93cb4832/pydantic_core-2.50.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:acbf31f37c53a5ac0c34706c80b4f5107ba20b05fdd3816124bf236ef0c57dd2", size = 2476839 },
+ { url = "https://files.pythonhosted.org/packages/3b/7e/c8a83eb5d2cd42c2e13507150fb777b1edea5a018adc9cbf2858a1d08285/pydantic_core-2.50.1-cp312-cp312-win32.whl", hash = "sha256:45b11cac094aa25725581d9304eee93c9028516b9ea80dd9e175e13a5a2c840e", size = 2101425 },
+ { url = "https://files.pythonhosted.org/packages/c5/17/8bbd530b8659e9d963f5b16f6cb8e159f4cd174b4d6304e48969ab12dba8/pydantic_core-2.50.1-cp312-cp312-win_amd64.whl", hash = "sha256:132529c83901437ff642f585216831bf5fd7a91df66829907e155192ead62498", size = 2172522 },
+ { url = "https://files.pythonhosted.org/packages/af/9f/a79d690b127e4e3cff143d031538ab9aa715f6b2fbeecbd07cd6f2bf9fb7/pydantic_core-2.50.1-cp312-cp312-win_arm64.whl", hash = "sha256:4e834f6a8e4ff772dcc34f58ef5504147a3ea5b0f4eeb13b0f8eb2ca75ac57f1", size = 2161366 },
+]
+
+[[package]]
+name = "sniffio"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 },
+]
+
+[[package]]
+name = "superlinked-sie-decisions-local-example"
+version = "0.1.0"
+source = { virtual = "." }
+dependencies = [
+ { name = "openai" },
+]
+
+[package.metadata]
+requires-dist = [{ name = "openai", specifier = "==3.26.0" }]
+
+[[package]]
+name = "truststore"
+version = "0.10.5"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/9f/c5201d42a484c061e528825fc8e2d565f5abd50a4ced6fb7d29c4ec99b2b/truststore-0.10.5.tar.gz", hash = "sha256:30d36967ccaded5cbb38d602c433f53600036c79d502f4533a49b60a03bbefcd", size = 28091 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/51/e9/3a7820be2bb0fe53b6bc9c3be26d3d1158004e4c3ab953aa6840b955b1e9/truststore-0.10.5-py3-none-any.whl", hash = "sha256:9aaaedaefaf06d8b206278cf8b5012bc897f485a874503501e12d776df78951c", size = 19017 },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571 },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a3/26/b09b8010994eccc3c09092e6b34058f36a460eea2d4c3e8b910c695975a0/typing_inspection-0.4.4.tar.gz", hash = "sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47", size = 76928 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750 },
+]