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/typescript/ai/src/types.ts:1380

Type Parameters

TProviderOptions

TProviderOptions extends object = Record<string, unknown>

Properties

focus?

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

Defined in: packages/typescript/ai/src/types.ts:1387


logger

ts
logger: InternalLogger;
logger: InternalLogger;

Defined in: packages/typescript/ai/src/types.ts:1394

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/typescript/ai/src/types.ts:1385


model

ts
model: string;
model: string;

Defined in: packages/typescript/ai/src/types.ts:1383


modelOptions?

ts
optional modelOptions: TProviderOptions;
optional modelOptions: TProviderOptions;

Defined in: packages/typescript/ai/src/types.ts:1389

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/typescript/ai/src/types.ts:1386


text

ts
text: string;
text: string;

Defined in: packages/typescript/ai/src/types.ts:1384