SerializedModelOptions
Namespace: Vercel.AI.ProviderUtils
public sealed class SerializedModelOptionsA serialized model id and config. Maps to the result of serializeModelOptions.
Inheritance: object
Constructors
Section titled “Constructors”SerializedModelOptions(string, Dictionary<string, object?>)
Section titled “SerializedModelOptions(string, Dictionary<string, object?>)”public SerializedModelOptions(string modelId, Dictionary<string, object?> config)Creates the serialized form.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string | |
config |
Dictionary<string, object> |
Properties
Section titled “Properties”Config
Section titled “Config”public Dictionary<string, object?> Config { get; }JSON-serializable configuration.
Value: Dictionary<string, object>
ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product