Full access to the core language model API with configuration and tool use.
Select "most-predictable" for strict reproducibility and speculative decoding.
"most-predictable"
Pre-declare expected inputs and outputs so the browser downloads required adapters during creation.
temperature and topK are deprecated and restricted to web extension contexts. In standard web pages they are ignored and samplingMode takes precedence.
temperature
topK
samplingMode
Initialize the session with the configuration defined above to start interacting with the model.