Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
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:1282

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


logger

ts
logger: InternalLogger;
logger: InternalLogger;

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

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


model

ts
model: string;
model: string;

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


modelOptions?

ts
optional modelOptions: TProviderOptions;
optional modelOptions: TProviderOptions;

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

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


text

ts
text: string;
text: string;

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