API Reference / @modelence/ai / GenerateTextOptions
Defined in: index.ts:22
Options for the Modelence generateText function.
This interface extends all the standard AI SDK generateText options, but replaces the model parameter with separate provider and model parameters.
Omit
<OriginalGenerateTextParams
, "model"
>Property | Type | Description | Defined in |
---|---|---|---|
model | string | The specific model name | index.ts:26 |
provider | Provider | The AI provider name | index.ts:24 |
API Reference / @modelence/ai / GenerateTextOptions
Defined in: index.ts:22
Options for the Modelence generateText function.
This interface extends all the standard AI SDK generateText options, but replaces the model parameter with separate provider and model parameters.
Omit
<OriginalGenerateTextParams
, "model"
>Property | Type | Description | Defined in |
---|---|---|---|
model | string | The specific model name | index.ts:26 |
provider | Provider | The AI provider name | index.ts:24 |