ExtractionLanguageModelOptions
Namespace: Vercel.AI.Operations
public sealed class ExtractionLanguageModelOptionsThe wrapped model, provider id, and field limit that cross a workflow boundary for ExtractionLanguageModel.
Inheritance: object
Constructors
Section titled “Constructors”ExtractionLanguageModelOptions(ILanguageModel, string, double)
Section titled “ExtractionLanguageModelOptions(ILanguageModel, string, double)”public ExtractionLanguageModelOptions(ILanguageModel model, string provider, double maxFieldsPerCall = Infinity)Creates the options.
Parameters
| Name | Type | Description |
|---|---|---|
model |
ILanguageModel | |
provider |
string | |
maxFieldsPerCall |
double |
Properties
Section titled “Properties”MaxFieldsPerCall
Section titled “MaxFieldsPerCall”public double MaxFieldsPerCall { get; }Most fields per language-model call. PositiveInfinity means no limit.
Value: double
public ILanguageModel Model { get; }The wrapped language model.
Value: ILanguageModel
Provider
Section titled “Provider”public string Provider { get; }The extraction provider id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product