generateText(Defined in: index.ts:76 Generates text using AI models with built-in Modelence configuration and telemetry. This is a wrapper around the AI SDK’s generateText function that automatically configures providers using Modelence’s server-side configuration system.options):Promise<GenerateTextResult<ToolSet,unknown>>
Example
Parameters
| Parameter | Type | Description |
|---|---|---|
options | GenerateTextOptions | Configuration options for text generation |
Returns
Promise<GenerateTextResult<ToolSet, unknown>>
A promise that resolves to the generated text result