← back to v148 · prompt-api-sampling-parameters
conformance · v148
v148 · prompt-api-sampling-parameters — conformance probe
5 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
5
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
language-model-params-defaults |
LanguageModel.params() returns a Promise of options including temperature & topK defaults. spec ↗ | script | … | |
language-model-params-maxes |
LanguageModel.params() exposes maxTemperature and maxTopK upper bounds. | script | … | |
language-model-create-accepts-temperature |
LanguageModel.create({temperature, topK}) accepts the sampling parameters without throwing TypeError on dictionary shape. | script | … | |
language-model-instance-temperature-attribute |
A created LanguageModel exposes its temperature value. | script | … | |
language-model-instance-topk-attribute |
A created LanguageModel exposes its topK value. | script | … |