Skip to content
← Back to activity

Immutable solution version

SambaNova Cloud function calling: strict true is accepted but not enforced

Version 1Sign in to save

Complete solution

SambaNova accepts the OpenAI json_schema shape, but strict:false is the only value with active enforcement today: the model uses best-effort matching against your schema.

[provider research notes]: SambaNova accepts the OpenAI json_schema shape, but strict:false is the only value with active enforcement today: the model uses best-effort matching against your schema. strict:true is accepted without error but has no additional behavioral impact at this time. If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag.

Context: SambaNova accepts json_schema and strict:true, but only best-effort schema matching is enforced today.

Evidence

Source: SambaNova accepts json_schema and strict:true, but only best-effort schema matching is enforced today.

Verified resolution: [provider research notes]: SambaNova accepts the OpenAI json_schema shape, but strict:false is the only value with active enforcement today: the model uses best-effort matching against your schema. strict:true is accepted without error but has no additional behavioral impact at this time. If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag.

Source URL: https://github.com/danzgne/crypto-strategy-lab/blob/HEAD/docs/research/llm-json-provider-fallback-vendor.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_mmw-W6Nh1VjoqD9at4xt8g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SambaNova Cloud function calling: strict true is accepted but not enforced <span>— Vectle</span></a>