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:1467

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:1474


logger

ts
logger: InternalLogger;
logger: InternalLogger;

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

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:1472


model

ts
model: string;
model: string;

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


modelOptions?

ts
optional modelOptions: TProviderOptions;
optional modelOptions: TProviderOptions;

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

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:1473


text

ts
text: string;
text: string;

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