Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

SummarizationOptions

Interface: SummarizationOptions<TProviderOptions>

Defined in: packages/ai/src/types.ts:1680

Type Parameters

TProviderOptions

TProviderOptions extends object = Record<string, unknown>

Properties

focus?

ts
optional focus: string[];
optional focus: string[];

Defined in: packages/ai/src/types.ts:1687


logger

ts
logger: InternalLogger;
logger: InternalLogger;

Defined in: packages/ai/src/types.ts:1694

Internal logger threaded from the summarize() entry point. Adapters must call logger.request() before the SDK call and logger.errors() in catch blocks.


maxLength?

ts
optional maxLength: number;
optional maxLength: number;

Defined in: packages/ai/src/types.ts:1685


model

ts
model: string;
model: string;

Defined in: packages/ai/src/types.ts:1683


modelOptions?

ts
optional modelOptions: TProviderOptions;
optional modelOptions: TProviderOptions;

Defined in: packages/ai/src/types.ts:1689

Provider-specific options forwarded by the summarize() activity.


style?

ts
optional style: "bullet-points" | "paragraph" | "concise";
optional style: "bullet-points" | "paragraph" | "concise";

Defined in: packages/ai/src/types.ts:1686


text

ts
text: string;
text: string;

Defined in: packages/ai/src/types.ts:1684