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.

Extends

  • Omit<OriginalGenerateTextParams, "model">

Properties

PropertyTypeDescriptionDefined in
modelstringThe specific model nameindex.ts:26
providerProviderThe AI provider nameindex.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.

Extends

  • Omit<OriginalGenerateTextParams, "model">

Properties

PropertyTypeDescriptionDefined in
modelstringThe specific model nameindex.ts:26
providerProviderThe AI provider nameindex.ts:24