IPublisherTakeawayGenerationV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
export interface IPublisherTakeawayGenerationV2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
{ widgets?: string[]; pageTitle?: boolean; filters?: boolean; otherPages?: boolean; } | (ALPHA) (Optional) What the AI reads. | ||
string | (ALPHA) (Optional) Appended to the preset instructions. Sent together with the document’s takeaway instructions; the widget’s instructions win on a clash. |
Property details
IPublisherTakeawayGenerationV2.contextpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
What the AI reads.
context?: {
widgets?: string[];
pageTitle?: boolean;
filters?: boolean;
otherPages?: boolean;
};
IPublisherTakeawayGenerationV2.instructionspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Appended to the preset instructions. Sent together with the document’s takeaway instructions; the widget’s instructions win on a clash.
instructions?: string;